zoukankan      html  css  js  c++  java
  • ligerui tab 部分记载

    打开一个Tab

    1 $(".strength_box").click(function () {
    2                 var id = $(this).attr("data");
    3                 var url = '/WEM/StoreRoom/EquipmentMan.aspx?OwnedStoreID=' + id + '&m_time=new Date().getTime()';
    4                 window.parent.parent.f_removeTab("ZBGL");
    5                 window.parent.parent.f_addTab('ZBGL', '装备管理', url);
    6 
    7                 return false;
    8             });

    关闭Tab :f_removeTab(tabid)

    添加Tab :f_AddTab(tabid,text,url)

    1 function f_addTab(tabid, text, url) {
    2             tab.addTabItem({ tabid: tabid, text: text, url: url });
    3         }
    4 
    5         function f_removeTab(tabid) {
    6             tab.removeTabItem(tabid);
    7         }

     js引用

       <link href="css/LigerUI/css/ligerui-all.css" rel="stylesheet" type="text/css" />
        <link href="css/LigerUI/css/ligerui-layout.css" rel="stylesheet" type="text/css" />
        <script src="Js/jquery-1.6.2.min.js" type="text/javascript"></script>
        <script src="Js/ligerui.min.js" type="text/javascript"></script>
  • 相关阅读:
    文件和文件夹权限
    CentOS 8修改用户密码
    Linux新建用户默认设置
    二、工具类
    一、MyBatis 核心配置文件
    十一、容器总结
    十、Collections工具类
    九、集合与数组之间的转化
    八、TreeSet
    ※大神※
  • 原文地址:https://www.cnblogs.com/minily/p/3727947.html
Copyright © 2011-2022 走看看