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就是空白的了~
是我哪儿写错了么?还是就是火狐它不支持呢?求教!
部分代码如下: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就是空白的了~
是我哪儿写错了么?还是就是火狐它不支持呢?求教!
不过我的问题已经解决了……原因太弱智了,还是不说了。只是说说火狐是支持iframe内嵌jsp神马的。出这个问题完全是因为我翻的那个弱智的错误……纠结……!!感谢2楼及时回答。
这个路径的解释IE和FF的有点点不一样,统一写成绝对路径就行.