没有直接设置窗口打开后就最大化的属性,可以:
<a href="#" onclick="window.open('http://www.csdn.net','','fullscreen=yes')">全屏</a>
或
<a href="#" onclick="window.open('http://www.csdn.net','','width=screen.width,height=screen.height')">全屏</a>
<a href="#" onclick="window.open('http://www.csdn.net','','fullscreen=yes')">全屏</a>
或
<a href="#" onclick="window.open('http://www.csdn.net','','width=screen.width,height=screen.height')">全屏</a>
var h=window.screen.availHeight;
window.open("test.asp","","left=0,top=0,height="+h+",width="+w+",status=0,toolbar=0,fullscreen=1,menubar=0,location=0,scrollbars=0,resizable=0,false");