ext,extjs中加载tab
<![CDATA[var tab = new Ext.TabPanel({ region:'center', deferredRender:false, activeTab:0, style:"padding:0 5px 0 5px", enableTabScroll:true, resizeTabs:true, // turn on tab resizing minTabWidth: 115, tabWidth:135, enableTabScroll:true, defaults:{autoScroll: true}, items:[ { title:'个人桌面', border:false, html:'<div id="Users" style="overflow:auto;width:100%;height:100%"><iframe scrolling="auto" frameborder="0" width="100%" height="100%" src="Home.jsp"></iframe></div>' //iconCls:'nav' } ] });
items:[ { title:'个人桌面', border:false, html:'<div id="Users" style="overflow:auto;width:100%;height:100%"><iframe scrolling="auto" frameborder="0" width="100%" height="100%" src="Home.jsp"></iframe></div>' //iconCls:'nav' }
为要加载的页面。它会加载目标页的所有东西。