Window.menubar

Summary

Returns the menubar object, whose visibility can be checked.

Syntax

objRef = window.menubar 

Example

The following complete HTML example shows way that the visible property of the menubar object is used.

<html>
<head>
  <title>Various DOM Tests</title>
  <script>
    var visible = window.menubar.visible;
  </script>
</head>
<body>
  <p>Various DOM Tests</p>
</body>
</html>

See also:

window.locationbar, window.personalbar, window.scrollbars, window.statusbar, window.toolbar

 

Specification

HTML5

Document Tags and Contributors

 Last updated by: teoli,