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

Q1549 How do I get a browser to open full screen regardless of the users resolution?

You are here: irt.org | FAQ | JavaScript | Window | Q1549 [ previous next ]

In Interner Explorer 4+:

<script language="JavaScript"><!--
window.open('page.html','newwin','fullscreen');
//--></script>

In Internet Explorer and Netscape Navigator:

<script language="JavaScript"><!--
w=800
h=600
if (window.screen) {
   w = window.screen.availWidth;
   h = window.screen.availHeight;
}
window.open('page.html','newwin','width='+w+',height='+h+',top=0,left=0');
//--></script>

This will disregard any task bar in the upper part of the screen.

Feedback on 'Q1549 How do I get a browser to open full screen regardless of the users resolution?'

©2018 Martin Webb