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

Q1220 How can I load a page into a full screen window in Netscape Navigator?

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

Q1220 How can I load a page into a full screen window in Netscape Navigator?

Try this in Netscape Navigator 4+ (Internet Explorer uses fullscreen attribute on the open statement):

<html>
<head>
<title>Clean Window</title>

<script language="JavaScript1.2"><!--
function doit() {
    if (document.layers) {
         netscape.security.PrivilegeManager.enablePrivilege('UniversalBrowserWrite');
         window.open('nocrome.htm','newwin','titlebar=no,width=' + window.screen.availWidth+',height='+window.screen.availWidth+',screenX=0,screenY=0')
    }
}
//--></script>

</head>

<body>
<a href="javascript:doit()">Open nocrome.htm</a>
</body>

</html>

Feedback on 'Q1220 How can I load a page into a full screen window in Netscape Navigator?'


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.