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

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

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

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

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?'


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


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