You are here: irt.org | FAQ | JavaScript | Window | Q1022 [ previous next ]
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.