87,909
社区成员
发帖
与我相关
我的任务
分享
<html>
<script>
function fullscreen(){ //在ie下可行
var wsh = new ActiveXObject("WScript.Shell");
wsh.sendKeys("{F11}");
}
fullscreen();
</script>
<body>
</body>
</html>
<html>
<script type="text/javascript">
function init() {
var options="status=yes,resizable=yes,left=0,top=0,width="+(window.screen.availWidth-8)+",height="+(window.screen.availHeight-56);
window.open('max.html',"_blank",options);
}
</script>
<body onload='init()'>
</body>
</html>
window.open("http://bbs.csdn.net/","bfs","fullscreen,scrollbars");
var WshShell = new ActiveXObject('WScript.Shell')
WshShell.SendKeys('{F11}');
执行F11,全屏
5#那样的