changeModelSize:function (){
if(window.parent.dialogArguments == null)
{
return; //忽略非模态窗口
}
var ua = navigator.userAgent;
var height = document.body.scrollHeight;
if(ua.lastIndexOf("MSIE 7.0") > -1)
{
window.parent.dialogWidth=document.body.scrollWidth+"px";
window.parent.dialogHeight=document.body.scrollHeight+"px";
}
if(ua.lastIndexOf("MSIE 6.0") != -1)
{
window.parent.dialogWidth=document.body.scrollWidth+"px";
window.parent.dialogHeight=document.body.scrollHeight+"px";
window.parent.dialogHeight = (height+50)+"px";
window.parent.dialogWidth=(Number(document.body.offsetWidth))+"px";
} }
if(window.parent.dialogArguments == null)
{
return; //忽略非模态窗口
}
var ua = navigator.userAgent;
var height = document.body.scrollHeight;
if(ua.lastIndexOf("MSIE 7.0") > -1)
{
window.parent.dialogWidth=document.body.scrollWidth+"px";
window.parent.dialogHeight=document.body.scrollHeight+"px";
}
if(ua.lastIndexOf("MSIE 6.0") != -1)
{
window.parent.dialogWidth=document.body.scrollWidth+"px";
window.parent.dialogHeight=document.body.scrollHeight+"px";
window.parent.dialogHeight = (height+50)+"px";
window.parent.dialogWidth=(Number(document.body.offsetWidth))+"px";
} }
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货