超简单实现:Ext.TabPanel加入iframe

超简单实现: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();

你可能感兴趣的:(html,ext)