window.personalbar

JavaScript1.2+ Nav4+ Syntax

							window.personalbar.property
						

Description

The personalbar property of the Window object is, to some degree, an object itself. The real use of this property is to access its visible property to determine if the personal bar is visible to the user or not.

Note

As of this writing, the personalbar property only has one subproperty: visible.

Example

Listing 7.570 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.570 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 ...

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.