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 打开窗体自适应高度 。。。。。适用于查看信息
    编辑器加载中...

  • 相关阅读:
    OC
    OC
    OC
    OC
    OC
    Oracle wm_concat()函数
    字符串拼接
    easyui扩展数据表格点击加号拓展
    子tab里面新增tab(top.jQuery)
    combox datagrid重复请求问题
  • 原文地址:https://www.cnblogs.com/sunjinpeng/p/2287526.html
Copyright © 2011-2022 走看看