tabs.add({
title: title,
iconCls: 'tabs',
closable:true,
autoLoad:{
url:index.jsp,
nocache: true,
scripts:true
}
}).show();
添加一个 tab 后 然后 里面 可以显示 index.jsp 这个页面 但就是 样式 不能显示...
还有 不能添加一个 域外的 页面 比如 url: 'www.baidu.com' 请教 请教...
你可以把样式文件写到jsp页面中,
终于跨域访问,你可以了解一下 ScriptProxy
要添加一个域外的页面的话,需要用到iframe,官网上有一个好用的基于iframe的组件,你可以看一下这个:[url]http://code.google.com/p/managediframe/[/url]