You are here: irt.org | FAQ | JavaScript | Window | Q1480 [ previous next ]
The following is the best JavaScript can do:
Internet Explorer only:
<script language="JavaScript"><!--
window.open('page.html','newwin','fullscreen');
//--></script>Internet Explorer 4+ and Netscape Navigator 4:
<script language="JavaScript"><!--
w=800;
h=600;
if (document.layers || document.all) {
w = screen.availWidth;
h = screen.availHeight;
}
window.open('page.html','newwin','width='+w+',height='+h+',top=0,left=0,screenX=0,screenY=0');
//--></script>However it does not look so good if the user has moved the taskbar around. And it also does not work under X-Windows (Unix/Linux).