window.locationbar

Syntax

lBarObj = window.locationbar

Popis

Príkaz jazyka JavaScript
Returns the locationbar object, whose visibility can be toggled in the window.

Parameters: lBarObj is an object reference.

Príklad


The following complete HTML example shows way that the visible property of the various "bar" objects is used, and also the change to the privileges necessary to write to the visible property of any of the bars on an existing window.
<html>
<head>
  <title>Various DOM Tests</title>
  <script>
    // changing bar states on the existing window
    netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserWrite");
    window.locationbar.visible= !window.locationbar.visible;
  </script>
</head>
<body>
  <p>Various DOM Tests</p>
</body>
</html>


Pozri aj

Window.locationbar.visible