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>