t:REPEATDUR Attribute | repeatDur Property?deprecated) | DHTML中文手册 |
sets or retrieves the number of seconds an element's timeline repeats.
dhtml语法
xml <ELEMENT t:REPEATDUR = sTime... > Scripting object.repeatDur [ = sTime ]
DHTML可能的值
sTime Stringthat specifies one of the following values:
indefinite Default. Timeline repeats indefinitely. totaldur Total amount of time to repeat the element's timeline. The time must be specified as described in Time Formats. The property is read/write. The property has a default value of indefinite.
Remarks
Use the dur or end property to define each repeat iteration. the repeatdur property has no effect if the duration is not defined or is indefinite.
typically, repeatdur is set on elements that are time containers, such as the t:par or t:seq element. elements containing the t:timeline attribute are also time containers. if you set the t:repeatdur attribute on an element that is not a time container, it sets the element's duration to the repeatdur value. this property is useful for coordinating the timing of an element with a media element that has a fractional duration, such as an audio file that is 3.45 seconds.
a repeatdur value of 0 is invalid. if 0 is specified, the default value is used instead.
是否符合公共标准
This property is defined in HTML+TIME (Timed Interactive Multimedia Extensions) 1.0 .
Applies To
t:AUDIO, t:IMG, t:MEDIA, t:PAR, t:SEQ, time, t:VIDEO
更多语法参考
Introduction to HTML+TIME