if (window.screen){
window.moveTo(0, 0);
window.resizeTo(screen.availWidth,screen.availHeight);
}http://www.MicroSystem.cn
window.moveTo(0, 0);
window.resizeTo(screen.availWidth,screen.availHeight);
}http://www.MicroSystem.cn
我的代码是这样的:
<script>
window.open ('page.html', '', 'top=0, left=0,toolbar=no, menubar=no, scrollbars=no, resizable=yes,location=no, status=no');
</script>应该如何修改?
window.open ('page.html', '', 'top=0, left=0,toolbar=no, menubar=no, scrollbars=no, resizable=yes,location=no, status=no,fullscreen=yes');
</script>
<object id=hh2 classid="clsid:ADB880A6-D8FF-11CF-9377-00AA003B7A11"> <param name="Command" value="Maximize"></object>
<OBJECT id=hh3 classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11">
<PARAM NAME="Command" VALUE="Close"></OBJECT>
<input type=button value=最小化 onclick=hh1.Click()>
<input type=button value=最大化 onclick=hh2.Click()>
<input type=button value=关闭 onclick=hh3.Click()>
<script language=javascript>
self.resizeTo(screen.availHeight,screen.availHeight);
self.moveTo(0,0);
</script>
在新要打开的页面加上,下面这段代码:
<script language=javascript>
self.resizeTo(screen.availWidth,screen.availHeight);
self.moveTo(0,0);
</script>