377Chapter 16Window and Frame Objectsbar.visible = !bar.visible; netscape.security.PrivilegeManager.revertPrivilege( (Web hosting script)

377Chapter 16Window and Frame Objectsbar.visible = !bar.visible; netscape.security.PrivilegeManager.revertPrivilege( UniversalBrowserWrite ); } // restore settingsfunction restore() { netscape.security.PrivilegeManager.enablePrivilege( UniversalBrowserWrite ); window.locationbar.visible = originalLocationbar; window.menubar.visible = originalMenubar; window.personalbar.visible = originalPersonalbar; window.scrollbars.visible = originalScrollbars; window.statusbar.visible = originalStatusbar; window.toolbar.visible = originalToolbar; netscape.security.PrivilegeManager.revertPrivilege( UniversalBrowserWrite ); }

Toggle Window Bars








Related Items:window.open()method. documentValue:Object.Read-OnlyCompatibility:WinIE3+, MacIE3+, NN2+, Moz1+, Safari1+ I list the documentproperty here primarily for completeness. Each windowobject contains asingle documentobject (although in Navigator 4, a window may also contain layers, each ofwhich has a documentobject, as described in Chapter 39 on the CD-ROM). The value of thedocumentproperty is the documentobject, which is not a displayable value. Instead, you usethe documentproperty as you build references to properties and methods of the documentand to other objects contained by the document, such as a form and its elements. To load awindowObject.document

Leave a Reply