EXT iframe 应用

    function IndexMagInfoFun(Url, width, height, title, Value) {
var IndexMagInfoWin = Ext.create('Ext.window.Window', {
layout: 'fit',
title: title,
width: 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 打开窗体自适应高度 。。。。。适用于查看信息
编辑器加载中...

posted @ 2011-12-14 14:12  孙金棚  阅读(2540)  评论(0编辑  收藏  举报