Extjs tabpanel内嵌iframe火狐无法显示!
部分代码如下:
- JScript code
width:Ext.getBody().getWidth()/2, height:Ext.getBody().getHeight()/2, items:[{ height:Ext.getBody().getHeight()/2-25, xtype:"tabpanel", enableTabScroll:true, activeTab:0, items:[ {title:"t1 ", html:"<iframe id='selects' width=100% height=100% frameborder=0 scrolling=auto src=component/systemSelect.jsp></iframe>" }, {title:" t2 ", html:"<iframe id='selects' width=100% height=100% frameborder=0 scrolling=auto src=component/userSelect.html></iframe>" }] }]
其实在IE8下显示都是正常的。
但是在火狐下,jsp的那个iframe就是空白的了~
是我哪儿写错了么?还是就是火狐它不支持呢?求教!
------解决方案--------------------
看看火狐浏览器的“工具”→“错误控制台”有没有提示。
或者用IE6浏览器看看,左下角错误提示有无?
------解决方案--------------------
js+Tab+iframe切换可关闭+添加并自动判断是否已打开并切换当前状态http://topic.csdn.net/u/20110215/10/f041a7fe-41c9-4516-b024-72819e4e3421.html