Sets or retrieves a Boolean value that specifies whether an instance of the Media Bar?
user interface (UI) is disabled.
dhtml语法
XML | N/A |
---|
Scripting | mediaBar.disabledUI(bDisable) [ = bDisabled ] |
---|
DHTML可能的值
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.
DHTML代码范例
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