您的位置:首页 > Web前端 > JavaScript

EXTJS 4.2 资料 控件之Window窗体添加html

2015-02-11 17:42 495 查看
//这里要跳转页面
var subWindow = new Ext.Window({
title: '窗口',
width: width,
height: height,
modal: true,//模态的 后面的页面就不能点了
frame: true,
layout: 'fit',
closeAction: 'hide',
closable: true,   //是否显示关闭按钮
maximizable: true,//最大化
minimizable: true,//最小化
listeners: {
minimize: function (subWindow, opts) {
subWindow.collapse();
}
},
html: '<iframe style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; width: "100%"; height:"100%"; border-right-width: 0px" src=/ProjectWeb/Page/InformationManagement/IM_BS_CompanyGather.html frameborder="0" width="100%"  height="100%"scrolling="no"></iframe>',

});
subWindow.show();
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: