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

时间:2015-02-11 18:24:10   收藏:0   阅读:374
  //这里要跳转页面
            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();

 

原文:http://www.cnblogs.com/foreverfendou/p/4286701.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!