Window.menubar
Summary
Returns the menubar object, whose visibility can be checked.
Syntax
JavaScript
Copy Code
objRef = window.menubar
Example
The following complete HTML example shows way that the visible property of the menubar object is used.
JavaScript
Copy Code
<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
License
© 2016 Mozilla Contributors
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-us/docs/web/api/window/menubar