Ext 弹出窗体显示到iframe之外
2013-10-31 14:19
543 查看
主要是这句话 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();
相关文章推荐
- Box2D 的 PTM_RATIO
- hdoj 2112 HDU Today
- UML关系(泛化,实现,依赖,关联(聚合,组合))
- BroadcastReceiver应用详解
- Python (一)
- Dijkstra求次短路+最短路数量(好题)--poj3463
- NagiosQL安装
- 侧边滚动菜单Demo
- linux 根目录的目录结构
- android 集成第三方静态库的编译方法
- word 文档如何加密
- 展讯平台-LCD驱动
- C/C++获取文件后缀名并且比较
- hadoop2.0安装中遇到的错误:mapreduce.shuffle set in yarn.nodemanager.aux-services is invalid
- Android 当修改一些代码时,使用什么编译命令可以最有效率
- C++内存分配方式详解——堆、栈、自由存储区、全局/静态存储区和常量存储区
- cin>>i与cin.get(i)区别
- Zadig
- 从foxmail导入邮件到outlook,并对邮件创建相应的过滤规则自动分配到自定义文件夹中
- androi 系统优化