window.personalbar.visible

JavaScript1.2+ Nav4+ Syntax

							window.personalbar.visible

Description

The visible subproperty of the personalbar property of the Window is used to determine if the Personal Bar is visible to the user or not. If it is visible, the property returns true. It returns false if the bar is not visible.

Example

Listing 7.571 determines if several of the browser bars are displayed or not. In the example, you will see if the Personal Bar is visible by using the visible property.

Listing 7.571 Using the visible Property of personalbar
 <script language="JavaScript"> <!-- Hide // Write the browser's bar status to the page. If the value // is true, then it is displayed. document.writeln('<h3>Browser Chrome Status</h3>') ...

Get Pure JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.