disabledUI

HTML (DHTML)

disabledUI Property

Internet Development Index

Sets or retrieves a Boolean value that specifies whether an instance of the Media Bar? user interface (UI) is disabled.

Syntax

XMLN/A
ScriptingmediaBar.disabledUI(bDisable) [ = bDisabled ]

Possible Values

bDisabledBoolean that specifies or receives a value that indicates whether the Media Bar? UI is disabled.
falseDefault. The Media Bar? UI is not disabled.
trueThe Media Bar? UI is disabled.

The property is read/write. The property has a default value of false.

Example

The following example shows syntax that sets the disabledUI property of an instance of the mediaBar behavior to true, thereby disabling the player's Previous Track button.

<DIV style="behavior:url(#default#mediaBar)" id="divMedia" ></DIV>
<INPUT type=button
onclick="divMedia.playURL('http://some_domain/mediafile_1.asx','video/x-ms-asf');
divMedia.disabledUI = true;" value='Play the ASX file'/>

Applies To

mediaBar