Extjs tabpanel内嵌iframe火狐无法显示!
部分代码如下: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就是空白的了~ 
是我哪儿写错了么?还是就是火狐它不支持呢?求教!

解决方案 »

  1.   

    js+Tab+iframe切换可关闭+添加并自动判断是否已打开并切换当前状态http://topic.csdn.net/u/20110215/10/f041a7fe-41c9-4516-b024-72819e4e3421.html
      

  2.   

    效果不错。
    不过我的问题已经解决了……原因太弱智了,还是不说了。只是说说火狐是支持iframe内嵌jsp神马的。出这个问题完全是因为我翻的那个弱智的错误……纠结……!!感谢2楼及时回答。
      

  3.   

    "src=component/systemSelect.jsp" 是这个写的不对而已, 换成绝对路径就ok了.
    这个路径的解释IE和FF的有点点不一样,统一写成绝对路径就行.