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?

8 of 44 people (18%) answered Yes
Recently 1 of 10 people (10%) answered Yes

Entry

how can i take the current window and remove the menu and toolbar without opening a new window?

Jan 28th, 2003 04:07
Klaus Bolwin, Jes C,


In Gecko-based browsers you can use this code:
window.toolbar.visible = false;
window.menuebar.visible = false;
However you should reset these properties on unload the document:
window.toolbar.visible = true;