我用的是Ext.TabPanel来加载子页面
方法如下function addTab(myText,count){
var tabUrl;
switch(count){
case 'bankIng':
tabUrl = 'personCost.php';
break;
(后面省略。)
}
MyTabs.add({
id:'myTab'+count,
title: myText,
iconCls: 'tabs',
autoLoad:{url:tabUrl,scripts:true},
closable:true,
frame:true
}).show();
}在火狐下点击菜单栏的时候出错,在IE下正常
因为表达能力关系,给出地址
http://mymms.freetzi.com/index.php用户名 test
密码 123希望知道我说什么的大侠能给点提示
方法如下function addTab(myText,count){
var tabUrl;
switch(count){
case 'bankIng':
tabUrl = 'personCost.php';
break;
(后面省略。)
}
MyTabs.add({
id:'myTab'+count,
title: myText,
iconCls: 'tabs',
autoLoad:{url:tabUrl,scripts:true},
closable:true,
frame:true
}).show();
}在火狐下点击菜单栏的时候出错,在IE下正常
因为表达能力关系,给出地址
http://mymms.freetzi.com/index.php用户名 test
密码 123希望知道我说什么的大侠能给点提示
另外,推介看看龙博的框架。和ext js相似,不过有个设计器,很爽,为初学者省去很多语法上的错误,更能关注于业务研究。