复制代码代码如下:
function viewPictures() {
var link = "${ctx}/upload/showBigImageReport/null?idNumber=${idNumber}&applyId=${applyId}&imgType=null&resType=CUSTOMSERVICE&sign=";
parent.$.ligerDialog.open({ url: link,name:pagerForm, width:700,height:950,modal:false,top:0,left:0,isDrag:false,allowClose:false,isResize:true});
/* $("#bankStatement"). css({width:"620",float:"right"});
$("#pepoleBankReport"). css({width:"620",float:"right"});
$("#othersInfo"). css({width:"620",float:"right"}); */
$("#entirety"). css({width:document.body.clientWidth-710+"px",float:"right"});
}
即再打开dialog窗体的时候,将网页可见区域宽(width:document.body.clientWidth)-dialog本身的宽度(710)然后让原页面右漂浮,面的昂算是解决了,但原来要求的比例实现不了了,暂时只有这么解决了,不知道各位还有其他想法吗?