Ext 弹出窗体显示到iframe之外
2013-10-31 22:04
363 查看
主要是这句话 var _win = new top.Ext.Window({});即可完成需要功能
var _win = new top.Ext.Window({
title: '从业人员健康检查表',
id:'closewin',
height: Ext.getBody().getHeight()-50,
width: Ext.getBody().getWidth()-300,
maximizable:true,
closable:true,
modal:true, //设置遮罩即只能操作最上层
draggable:true,
layout: 'fit',
// closeAction:"hide",
listeners:{
"close":function(){
//alert("text///");
/*Ext.Ajax.request({
url:"queryhealthcard!verifyCheckBox.action",
params:{
dataSourceId: dataSourceId
},
success: function(response){
var text = response.responseText
var jsonobj=eval('('+text+')');
if(jsonobj.permission == 'allow'){
document.getElementById(id).disabled=false;
}else{
document.getElementById(id).disabled = true;
}
}
});*/
flashrow(id,row,tdcol);
}
},
html:'<iframe id="openwin" name="b" frameborder="no" height="100%" width="100%" marginheight="0" marginwidth="0" scrolling="auto" src="healthDisease!findWorkInfo.action?dataSourceId='+dataSourceId+'"></iframe>'
});
_win.show();
var _win = new top.Ext.Window({
title: '从业人员健康检查表',
id:'closewin',
height: Ext.getBody().getHeight()-50,
width: Ext.getBody().getWidth()-300,
maximizable:true,
closable:true,
modal:true, //设置遮罩即只能操作最上层
draggable:true,
layout: 'fit',
// closeAction:"hide",
listeners:{
"close":function(){
//alert("text///");
/*Ext.Ajax.request({
url:"queryhealthcard!verifyCheckBox.action",
params:{
dataSourceId: dataSourceId
},
success: function(response){
var text = response.responseText
var jsonobj=eval('('+text+')');
if(jsonobj.permission == 'allow'){
document.getElementById(id).disabled=false;
}else{
document.getElementById(id).disabled = true;
}
}
});*/
flashrow(id,row,tdcol);
}
},
html:'<iframe id="openwin" name="b" frameborder="no" height="100%" width="100%" marginheight="0" marginwidth="0" scrolling="auto" src="healthDisease!findWorkInfo.action?dataSourceId='+dataSourceId+'"></iframe>'
});
_win.show();
相关文章推荐
- Ext 弹出窗体显示到iframe之外
- window弹出框在iframe之外显示
- Easyui弹出窗体在iframe的父级页面显示
- Easyui弹出窗体在iframe的父级页面显示
- extjs 弹出 Ext.form.FormPanel 显示
- WPF用ShowDialog()弹出窗体时控制该窗体的显示位置,并传值回父窗体
- 设计一个窗体。窗体上有2个按钮,一个显示文本,一个显示图片。单击上面按钮,或按下alt+B可以弹出右边所示的消息框。单击下面按钮也可以弹出右边所示的消息框
- 窗体传值状态栏显示以及在容器里面只能弹出一次相同的窗体
- easyui弹出层在最顶层显示跳出iframe框架通用javascript代码
- Delphi窗体显示后弹出一个对话框的方法
- JS窗口问题处理:使弹出窗口保持前端显示的几种方法,及window窗体对象open()和showModalDialog()用法
- JS窗口问题处理:使弹出窗口保持前端显示的几种方法,及window窗体对象open()和showModalDialog()用法
- c# 弹出窗体的显示位置设定
- EXT怎么在弹出窗口显示一个下拉框?
- C#:Win32 Hooks(一)让下一个弹出子窗体自动显示在父窗体中心
- C#前后台调用js代码&父窗体执行iframe的保存事件&&弹出窗口中刷新父页面中的iframe页面
- winform窗体弹出时,光标默认显示在指定的输入框内
- android editview 点击弹出输入法时,不把标题栏顶出窗体之外
- 弹出模态窗体的应用程序隐藏和恢复显示的问题解决