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

Q1022 How can I remove the toolbars of the current window?

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

Q1022 How can I remove the toolbars of the current window?

The following works well in Netscape Navigator 4+:

<SCRIPT LANGUAGE="JavaScript"><!--
function off() { 
    window.open('','_top','menubar=0,location=0,toolbar=0,personalbar=0,status=1,scrollbars=1');
}
//--></SCRIPT>

<FORM>
<INPUT TYPE=SUBMIT VALUE="Off" onClick="off()">
</FORM>
</HTML>

Internet Explorer 4 does not allow modification to current window chrome.

Feedback on 'Q1022 How can I remove the toolbars of the current window?'


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.