Web页面启动的时候 能否实现全屏功能?
就是启动的时候,只显示主页内容,不显示地址栏、工具条等其他。
目前通过调用F11键可是实现切换,如果不想让用户切换,一直是全屏状态,该如何实现?
浏览器为IE9 帮顶!
[解决办法]
<html>
<head>
<title>123</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script>
<!--
function omiga_window(){
window.open("1.htm","","fullscreen,scrollbars")
}
//-->
</script>
</head>
<body onload="omiga_window()" onblur="focus();window.close()" scroll="no" >
<p> </p>
<p> </p>
全屏!
</body>
</html>
function Fkey(){
var WsShell = new ActiveXObject('WScript.Shell')
WsShell.SendKeys('{F11}');