您的位置:首页 > 其它

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();
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: