子页面代码如下:
var win = new Ext.Window({
//如果在这里使用top.Ext.Window哪么items : [winFromPanel]这能加组件。请问如何解决这问题
layout : 'fit',
width : 500,
height : 350,
resizable : false,
shadow : true,
modal : true,
closable : true,
bodyStyle : 'padding:5 5 5 5',
animCollapse : true,
title : "用户详细信息",
items : [winFromPanel]
//这是一个fromPanel 如果这没组件直接topExt.Window就能遮盖
})
win.show();
父页面代码如下:
ext 在iframe中的父窗口弹出的子窗口如何遮罩住整个页面
- 写回答
- 好问题 0 提建议
- 关注问题
- 邀请回答
-
1条回答 默认 最新
lizhiyezi 2010-10-22 17:53关注如果为top.Ext.Window new 出来的子组件必须是top开头延时加载的可以不用
var win = new top.Ext.Window({layout : 'fit',
width : 500,
height : 350,
resizable : false,
shadow : true,
modal : true,
closable : true,
bodyStyle : 'padding:5 5 5 5',
animCollapse : true,
title : "用户详细信息",
items : [new top.Ext.Panel({title:'sss'})]
//这是一个fromPanel 如果这没组件直接topExt.Window就能遮盖
})
win.show();本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报