faqts : Computers : Programming : Languages : JavaScript : Windows

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

23 of 124 people (19%) answered Yes
Recently 1 of 10 people (10%) answered Yes

Entry

How can i hide the toolbar,menubar and status bar of the current window

Sep 28th, 2003 14:02
Adam Baruch, Francisco Cervantes Parra, Rajesh Kumar,


Try this:
window.open('some.url', '_self', 'toolbar=no,menubar=no,status=no');
Now some.url will open in the same window but with toolbar,menubar and 
status bar hidden.
========================================
This definitely does not work in IE5+
The _self directive is executed, but the bars stay as they were!
Dr. Adam Baruch