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

Q943 How can I ensure that my page is loaded into a full size window in Netscape Navigator 4 and Internet Explorer 4 without any browser toolbars?

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

Q943 How can I ensure that my page is loaded into a full size window in Netscape Navigator 4 and Internet Explorer 4 without any browser toolbars?

You'll have to open another window, and then close the current window to achieve what you want.

<script language="JavaScript"><!--
if (history.length != 1) {
    window.open(location.href,'main','fullscreen=yes,outerHeight=' + screen.availHeight + ',outerWidth=' + screen.availWidth);
    setTimeout('self.close()',1000); // close self after a seconds delay
}
//--></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.