TOC PREV NEXT INDEX

Put your logo here!


<html> 
<head> 
  <title>Various DOM Tests</title> 
  <script> 
    // changing bar states on the existing window 
    netscape.security.PrivilegeManager. 
        enablePrivilege("UniversalBrowserWrite"); 
    window.personalbar.visible= 
        !window.personalbar.visible; 
  </script> 
</head> 
<body> 
  <p>Various DOM Tests</p> 
</body> 
</html> 


Notes

To toggle the visibility of these bars, you must either sign your scripts or enable the appropriate privileges, as in the example above. Also be aware that dynamically updating the visibilty of the various toolbars can change the size of the window rather dramatically, and may affect the layout of your page.

See also: window.locationbar, window.menubar, window.personalbar, window.scrollbars, window.statusbar, window.toolbar

Specification

DOM Level 0. Not part of specification. 


mozilla.org | mailto:oeschger | bug 93108
TOC PREV NEXT INDEX