如何实现打开网页就直接全屏?

2025-01-31 16:09:04
推荐回答(3个)
回答1:



回答2:

先打开一个新网页,把它的边框拉伸到最大,然后关闭它,再重新打开网页,就是最大的了

回答3:

language="javascript">
function
OpenContent()
{
frmmain
=
open("frmmain.htm","shopperinfo","toolbar=no,location=no,fullscreen=yes,personalbar=no,status=no,menubar=no,scrollbars=yes,titlebar=no,resizeable=yes,left=0,top=0");
if
(frmmain
!=
null)
{
opener=null;
close();
}
}

language="javascript"
FOR="window"
EVENT="onload">
setTimeout("OpenContent()",
500,
"JavaScript");