超简单实现:Ext.TabPanel加入iframe
转载自http://www.iteye.com/topic/168550
funtab.add({
title:titleText ,
id:'tab_'+id,
iconCls: 'tabs',
margins:'0 4 4 0',
autoHeight:true,
autoScroll:true,
autoWidth:true,
closable:true,
frame:true,
html:'+UrlText+'" width="100%" height="400" frameborder="0" scrolling="auto">'
}).show();
转载自http://www.iteye.com/topic/168550
funtab.add({
title:titleText ,
id:'tab_'+id,
iconCls: 'tabs',
margins:'0 4 4 0',
autoHeight:true,
autoScroll:true,
autoWidth:true,
closable:true,
frame:true,
html:'+UrlText+'" width="100%" height="400" frameborder="0" scrolling="auto">'
}).show();
本文介绍了一种使用Ext.TabPanel组件轻松添加iframe的方法。通过设置特定属性如title、iconCls及frame等,可以实现在Tab中加载外部网页内容的功能。
3175

被折叠的 条评论
为什么被折叠?



