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

  //这里要跳转页面
            var subWindow = new Ext.Window({
                title: '窗口',
                 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- 0px; border-left- 0px; border-bottom- 0px;  "100%"; height:"100%"; border-right- 0px" src=/ProjectWeb/Page/InformationManagement/IM_BS_CompanyGather.html frameborder="0" width="100%"  height="100%"scrolling="no"></iframe>',

            });
            subWindow.show();
原文地址:https://www.cnblogs.com/foreverfendou/p/4286701.html