Hiding the toolbar, menubar, etc?

Giganews Newsgroups
Subject: Hiding the toolbar, menubar, etc?
Posted by:  Code Monkee (monk…@monkeebusiness.com)
Date: Tue, 15 Jul 2003

How can the toolbar and menubar be hidden in IE?

When opening the window via javascript I can specify
'toolbar=no,menubar=no', which works fine.
However if the window already exists how can I remove them?  If the browser
is Netscape I can use javascript:
      window.toolbar.visible = false;
      window.menubar.visible = false;
but IE produces the error:
    "'window.toolbar.visible' is null or not an object".
Is there a different window attribute or method I should use, or do I need
to do this with VBScript?

Thanks.

Replies