弹出窗口全屏显示:window.showModalDialog与window.open全屏显示
window.showModalDialog全屏显示:
function winModalFullScreen(strURL)
{
var
sheight = screen.height-70;
var swidth = screen.width-10;
var
winoption ="dialogHeight:"+sheight+"px;dialogWidth:"+ swidth
+"px;status:yes;scroll:yes;resizable:yes;center:yes";
var
tmp=window.showModalDialog(strURL,window,winoption);
return tmp;
}
window.open全屏显示:
function winOpenFullScreen(strURL)
{
var
sheight = screen.height-70;
var swidth = screen.width-10;
var
winoption
="left=0,top=0,height="+sheight+",width="+swidth+",toolbar=yes,menubar=yes,location=yes,status=yes,scrollbars=yes,resizable=yes";
var tmp=window.open(strURL,'',winoption);
return tmp;
}
联盟快卖 商人,生意人,待创业人士在此可以共赢互利 期待你的加入 群号:140809277