easyui选项卡
来源:互联网 发布:编程入门培训 编辑:程序博客网 时间:2024/06/02 03:23
$(function(){
$('#tt').tabs({
border:true,
tools:[{
iconCls:'icon-add',
handler:function(){
$('#tt').tabs('add',{
title:'New Tab',
content:'Tab Body',
closable:true,
tools:[{
iconCls:'icon-mini-refresh',
handler:function(){
alert('refresh');
}
}]
});
}
},{
iconCls:'icon-save',
handler:function(){
var tab = $('#tt').tabs('getSelected');
var index = $('#tt').tabs('getTabIndex',tab);
tab.panel('refresh', 'index.html');
}
},{
iconCls:'icon-remove',
handler:function(){
var tab = $('#tt').tabs('getSelected');
var index = $('#tt').tabs('getTabIndex',tab);
$("#tt").tabs('close',index);
}
}]
});
});
$('#tt').tabs({
border:true,
tools:[{
iconCls:'icon-add',
handler:function(){
$('#tt').tabs('add',{
title:'New Tab',
content:'Tab Body',
closable:true,
tools:[{
iconCls:'icon-mini-refresh',
handler:function(){
alert('refresh');
}
}]
});
}
},{
iconCls:'icon-save',
handler:function(){
var tab = $('#tt').tabs('getSelected');
var index = $('#tt').tabs('getTabIndex',tab);
tab.panel('refresh', 'index.html');
}
},{
iconCls:'icon-remove',
handler:function(){
var tab = $('#tt').tabs('getSelected');
var index = $('#tt').tabs('getTabIndex',tab);
$("#tt").tabs('close',index);
}
}]
});
});
阅读全文
0 0
- easyui 动态选项卡
- easyui选项卡
- EasyUI 选项卡
- easyui动态添加选项卡
- easyUI切换tabs(选项卡)
- EasyUI的选项卡制作
- easyui--tab 选项卡组件
- EasyUI之选项卡Tabs
- EasyUI之选项卡Tabs
- easyui tabs 选项卡切换
- 5.easyui+ztree案例:选项卡布局
- easyui-accordion 设置默认选项卡
- 轻松控制EasyUI-Tab选项卡
- jQuery EasyUI 教程-Tabs(选项卡)
- jQuery EasyUI 教程-Tabs(选项卡)
- easyui tabs 获取选中选项卡索引
- easyui学习之选项卡面板
- jQuery EasyUI 教程-Tabs(选项卡)
- java图片插入窗口定时循环移动或者按鼠标位置移动
- SCUT Training 20170920 Problem H
- 单例写法
- WUST OJ 1593: Count Zeros(线段树)
- web工程下,JSP页面提示 The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Pa
- easyui选项卡
- Git 使用哈希节约空间
- cookie & session &localStorage
- Snap 的哲学
- 基于html 与c++ 交互
- easyui进度条
- Mybatis Generator最完整配置详解
- SCUT Training 20170920 Problem I
- javascript实现数据结构: 树和二叉树,二叉树的遍历和基本操作