Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Q979 How do I open another large/big window?

irt.org | Knowledge Base | JavaScript | Window | Q979 [ previous next ]

Q979 How do I open another large/big window?

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>

Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb and Michel Plungjan
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.