onhide Event

This topic documents a feature that is obsolete as of Windows Internet Explorer 7.

Obsolete. Fires when the Media Bar player is hidden.


Event Property mediaBar.onhide = handler;
attachEvent mediaBar.attachEvent( "onhide", handler);
Named script <SCRIPT FOR = mediaBar EVENT = onhide>

Event Information

Bubbles No
Cancels No
To invoke
  • Click the Close button in the Media pane.
  • Click the Media button in the Internet Explorer toolbar.
  • Choose Explorer Bar from the View menu and clear the Media menu item.
Default action Initiates any action associated with this script.

Event Object Properties

Although event handlers in the DHTML Object Model do not receive parameters directly, a handler can query the event object for the following event properties.

Available Properties

srcElement Gets or sets the object that fired the event.

Refer to the specific event object for additional event properties.


As of Microsoft Internet Explorer 6 on Windows XP Service Pack 2 (SP2) or Internet Explorer 7, the mediaBar feature is obsolete and no longer available.

onhide was introduced in Internet Explorer 6.

Applies To