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

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

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

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

©2018 Martin Webb