You are here: irt.org | FAQ | JavaScript | Window | Q979 [ previous next ]
The following is the best that can be achieved:
<script language="JavaScript"><!--
var features = 'toolbar=0,scrollbars=1,location=0,frameborder=no,border=0,status=0,menubar=0';
if (window.screen)
features += ',height=' + screen.availHeight + ',width=' + screen.availWidth;
else if (window.all)
features += ',fullscreen=yes';
else
features += ',height=480,width=640';
windowHandle = window.open('main.html','windowName',features);
//--></script>