zoukankan      html  css  js  c++  java
  • EXT iframe 应用

        function IndexMagInfoFun(Url, width, height, title, Value) {
    var IndexMagInfoWin = Ext.create('Ext.window.Window', {
    layout: 'fit',
    title: title,
    width,
    height: height,
    modal: true,
    plain: true,
    y: 10,
    autoScroll: true,
    resizable: true,
    maximizable: true,
    bodyStyle: "padding:5px 0 0 5px",
    items: {
    xtype: "panel",
    layout: 'fit',
    border: false,
    frame: false,
    autoScroll: true,
    html: "<iframe scrolling='yes'width='100%' height='100%' frameborder='0' src='" + Url + "?ID=" + Value + "'></iframe>"
    },
    buttonAlign: "center",
    buttons: [{
    text: "关 闭",
    iconCls: 'close',
    handler: function () {
    IndexMagInfoWin.close();
    }
    }]
    });
    IndexMagInfoWin.show();
    };

    EXT JS 中利用Iframe 打开窗体自适应高度 。。。。。适用于查看信息
    编辑器加载中...

  • 相关阅读:
    Prim+堆优化
    Tarjan缩点+建新图
    CF482A
    CF545C
    CF570B
    Python 入门2 list介绍
    Python 入门1 上传代码
    黑客与画家 第十三章
    黑客与画家 第十一章
    黑客与画家 第五章
  • 原文地址:https://www.cnblogs.com/sunjinpeng/p/2287526.html
Copyright © 2011-2022 走看看