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

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 are here: irt.org | FAQ | JavaScript | Window | Q943 [ previous next ]

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>

©2018 Martin Webb