systemOverdubOrSubtitle Attribute | DHTML中文手册 |
Specifies whether overdubs or subtitles render during a presentation.
dhtml语法
HTML <ELEMENT systemOverdubOrSubtitle= ... > Scripting N/A
DHTML可能的值
overdub The user prefers to substitute one voice track for another. subtitle The user prefers to display text in a language different from the one currently being used in the audio track.
Remarks
Evaluates to true if the user preference matches this attribute value. Evaluates to false if they do not match.
If the systemOverdubOrSubtitle attribute is used on an HTML element within a switch statement, it is not necessary to apply the time2 behavior to the html element.
to turn captions on or off, select the use showsounds check box under the sound tab of accessibility options located in control panel.
DHTML代码范例
This example demonstrates how to use the systemOverdubOrSubtitle attribute. If captioning (Use ShowSounds) is not set to on, the first t:audio evaluates true and starts to play. otherwise, the second t:audio evaluates true and starts to play.
<html xmlns:t="urn:schemas-microsoft-com:time"> <HEAD> <STYLE> .time{ behavior: url(#default#time2);} </STYLE> <?IMPORT namespace="t" implementation="#default#time2"> </HEAD> <BODY timecontainer="seq"> <t:PAR> <t:SWITCH> <!-- If language is set to English and show sounds isn't checked, the following line evaluates true. --> <t:AUDIO src="ShowSoundsOff.wav" systemOverdubOrSubtitle="subtitle" systemLanguage="en" /> <!-- If language is set to English and show sounds is checked, the following line evaluates true. --> <t:AUDIO src="ShowSoundsOn.wav" systemOverdubOrSubtitle="overdub" systemLanguage="en" /> </t:SWITCH> </t:PAR> </BODY> </HTML>
Applies To
A, ACRONYM, ADDRESS, t:ANIMATE, t:ANIMATECOLOR, t:ANIMATEMOTION, t:ANIMATION, AREA, t:AUDIO, B, BIG, BLOCKQUOTE, BUTTON, CAPTION, CENTER, CITE, CODE, DD, DEL, DIR, DIV, DL, DT, EM, FIELDSET, FONT, FORM, hn, HR, I, IFRAME, IMG, t:IMG, INPUT type=button, INPUT type=checkbox, INPUT type=file, INPUT type=hidden, INPUT type=image, INPUT type=password, INPUT type=radio, INPUT type=reset, INPUT type=submit, INPUT type=text, INS, KBD, LEGEND, LI, LISTING, MARQUEE, t:MEDIA, MENU, OL, OPTION, P, PLAINTEXT, playItem, PRE, Q, t:REF, S, SAMP, t:SEQ, t:SET, SMALL, SPAN, STRIKE, STRONG, SUB, SUP, t:SWITCH, TABLE, TBODY, TD, TEXTAREA, TFOOT, TH, THEAD, time2, TR, TT, U, UL, VAR, t:VIDEO, XMP
更多语法参考
introduction to html+time, systembitrate, systemcaptions, systemlanguage, time2