Window.toolbar (Property)

A reference to an object that represents the tool bar.


JavaScript - 1.2
Netscape - 4.0
Property/method value type:Bar object
JavaScript syntax:-myWindow.toolbar

This is a read-only property containing a reference to a Bar object whose visible property contains a Boolean value that controls the visibility of the screen furniture represented by the object, which, in this case, is the toolbar.


Example code:

   // Request necessary privileges"UniversalBrowserWrite");
   // Hide tool bar
   window.toolbar.visible = false;
   // There is another way that works without requesting privilege'', '_top', 'toolbar=0');

See also:Bar object, Frame object, UniversalBrowserWrite, Window furniture, Window object, Window.locationbar, Window.menubar, Window.personalbar, Window.scrollbars, Window.statusbar

Property attributes:


insert figure 0066