Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

Q979 How do I open another large/big window?

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>

©2018 Martin Webb