zoukankan      html  css  js  c++  java
  • extjs 弹出windowsurl

    代码
    function buildWindow(url) {
    var DisplayPanel
    = new Ext.TabPanel({
    350,
    id:
    "tt",
    title:
    "dfsdf",
    height:
    500,
    400,
    autoScroll:
    true,
    activeTab:
    0,
    frame:
    true,
    autoDestroy:
    false

    });
    var tan
    =DisplayPanel.add({
    id:
    "ee",
    title:
    "sdf",
    height:
    500,
    400,
    autoScroll:
    true,
    closable:
    true,
    autoLoad: {
    showMask:
    true,
    url: url,
    mode:
    'iframe',
    maskMsg:
    'Loading ' + '...'
    }});
    var win
    = new Ext.Window({
    id:
    "ww",
    layout:
    "fit",
    autoScroll:
    true,
    title:
    "Source code",
    iconCls:
    "icon-pagewhitecode",
    600,
    height:
    600,
    maximizable:
    true,
    autoShow:
    true,
    plain:
    true,
    resizable:
    false,
    shadow:
    false,
    bufferResize:
    true,
    modal:
    true,
    items:[DisplayPanel]

    });

    win.show();
    }
    <ext:Button ID="Button1" runat="server" Text="Submit">
            <Listeners>
                <Click Handler="buildWindow('Default.aspx')" />
            </Listeners>
        </ext:Button>

  • 相关阅读:
    【CF580D】Kefa and Dishes
    【poj3311】Hie with the Pie
    校外实习-7.7
    校外实习-7.6
    校外实习-7.5
    校外实习-7.4
    作业九-课程总结(补充)
    作业九-课程总结
    作业四——结对编程四则运算
    作业三
  • 原文地址:https://www.cnblogs.com/hanli/p/1702367.html
Copyright © 2011-2022 走看看