码迷,mamicode.com
首页 > Windows程序 > 详细

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

时间:2015-02-11 18:24:38      阅读:203      评论:0      收藏:0      [点我收藏+]

标签:

  //这里要跳转页面
            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();

 

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

标签:

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!