标签:lin inf 无效 show otto car over 子菜单 ati
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
< div data-options = "region:‘center‘,border:false" > < div id = "tt" class = "easyui-tabs" data-options = "fit:true" > < div id = "tt0" title = "摄像机管理" > <!-- <iframe src="equip_manager_vidicon.html" frameborder="0" height=100% width=100% ></iframe> --> </ div > < div id = "tt1" title = "扫码设备管理" > <!-- <iframe src="../system/park_scancode_show_info.html" frameborder="0" height=100% width=100%></iframe> --> </ div > < div id = "tt2" title = "刷卡设备管理" > <!-- <iframe src="swingCardEquipManager.html" frameborder="0" height=100% width=100%></iframe> --> </ div > < div id = "tt3" title = "打印设备管理" > <!-- <iframe src="park_receipt_print_info.html" frameborder="0" height=100% width=100%></iframe> --> </ div > </ div > </ div > |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
equip_manager.switchPage = function (value){ switch (value) { case 0: return ‘<iframe src="equip_manager_vidicon.html" frameborder="0" height=100% width=100% ></iframe>‘ ; case 1: return ‘<iframe src="../system/park_scancode_show_info.html" frameborder="0" height=100% width=100%></iframe>‘ ; case 2: return ‘<iframe src="swingCardEquipManager.html" frameborder="0" height=100% width=100%></iframe>‘ ; case 3: return ‘<iframe src="park_receipt_print_info.html" frameborder="0" height=100% width=100%></iframe>‘ ; } } $( function () { $( ‘#tt‘ ).tabs({ onSelect : function (title, index) { if ($( "#tt" + index).children().length == 0){ $( "#tt" + index).html(equip_manager.switchPage(index)); } } }); $( "#tt0" ).html(equip_manager.switchPage(0)); }); |
09. easyui-tabs 配合 iframe 使用,请求两次等问题
标签:lin inf 无效 show otto car over 子菜单 ati
原文地址:http://www.cnblogs.com/lhsaq2009/p/7280791.html