You are here: irt.org | FAQ | JavaScript | Window | Q1549 [ previous next ]
In Interner Explorer 4+:
<script language="JavaScript"><!--
window.open('page.html','newwin','fullscreen');
//--></script>In Internet Explorer and Netscape Navigator:
<script language="JavaScript"><!--
w=800
h=600
if (window.screen) {
w = window.screen.availWidth;
h = window.screen.availHeight;
}
window.open('page.html','newwin','width='+w+',height='+h+',top=0,left=0');
//--></script>This will disregard any task bar in the upper part of the screen.