ASP opens the webpage adaptive window to maximize
When opening a link, the page that is opened is often not maximized. Users often need to adjust the window size or click the maximize button, which is very troublesome. Some users do not know how to set up IE. Therefore, such code is needed and these are omitted. trouble.
<script language=JavaScript>
//Used to maximize the page
<!--
var x=screen.width+8;
var y=screen.height+8-30;
varxx=-4;
var yy=-4;
function winsize(){
window.resizeTo(x,y);
window.moveTo(xx,yy);
//setTimeout(winsize(),50) plus this window will always be the largest. If it is smaller, it will become the largest.
}
//-->
</script>
<body onload=winsize() onresize=winsize()>