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

Q947 How can I open a new maximised window without any toolbars when clicking a link?

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

Only in Netscape Navigator 4+ or Internet Explorer 4+:

<script language="JavaScript"><!--
var windowHandle = '';
function openMaxWindow(url) {
    windowHandle = window.open(url,'popup','width=640,height=480');
}
//--></script>

<script language="JavaScript1.2"><!--
function openMaxWindow(url) {
    windowHandle = window.open(url,'popup','fullscreen=yes,outerHeight=' + screen.availHeight + ',outerWidth=' + screen.availWidth);
}
//--></script>

<a href="http://www.irt.org/script/faq.htm" onClick="this.href='javascript:openMaxWindow(\'http://www.irt.org/script/faq.htm\')'">JavaScript FAQ</a>

Feedback on 'Q947 How can I open a new maximised window without any toolbars when clicking a link?'

©2018 Martin Webb