var tabPanel = new Ext.TabPanel({
activeTab: 0,
region:'center',
layoutOnTabChange : false,
deferredRender: true,
items:[
{
title: '百度',
layout: 'fit',
height: 375,
id: 'training_grief_rep_tab_4',
border: false,
deferredRender: false,
//items : new TrainingBriefSummaryItem({sunmmaryId: tariningId}),
autoScroll : true,
html:' <iframe scrolling="auto" frameborder="0" width="100%" height="100%" src="'+'http://www.baidu.com'+'"> </iframe>'
}
]
});
图片
Ext.ns("ShouRuReportMgr");
ShouRuReportMgr = Ext.extend(Ext.Panel, {
searchPanel: null,
gridPanel: null,
store: null,
topbar: null,
constructor: function(a) {
Ext.applyIf(this, a);
ShouRuReportMgr.superclass.constructor.call(this, {
id: "ShouRuReportMgr",
iconCls: "menu-appraise-pay",
title: "中心月度报表-收入",
deferredRender: true,
html: ' <iframe scrolling="auto" frameborder="0" width="100%" height="100%" src="'+__ctxPath + '/pages/report/shouRuReportMgr.jsp' + '"> </iframe>'
});
}
});