次の方法で共有


disabledUI Property

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

Obsolete. Sets or retrieves a Boolean value that specifies whether an instance of the Media BarUI is disabled.

Syntax

XML N/A
Scripting [ bDisabled = ] mediaBar.disabledUI [ = bDisabled ]

Possible Values

bDisabled Boolean that specifies or receives a value that indicates whether the Media Bar  UI is disabled.
false
Default. The Media Bar  UI is not disabled.
true
The Media Bar  UI is disabled.

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

Remarks

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.

disabledUI was introduced in Internet Explorer 6.

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