Sets or retrieves the number of seconds an element's timeline repeats.
Syntax
HTML <ELEMENT STYLE="behavior:url(#default#time);" t:REPEATDUR = sTime... > Scripting object.repeatDur [ = sTime ]
Possible Values
sTime String that specifies one of the following values:
indefinite 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 with no default value. This property cannot be modified in script after the onload event fires on the document body.
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.
Do not use this property on the same element as the REPEAT attribute. Typically, REPEATDUR is set on elements that are time containers, such as the PAR or SEQ element. Elements containing the TIMELINE attribute are also time containers. If you set the 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.
The prefix t is used to associate this attribute with an XML namespace.
Applies To
animation, audio, img, media, par, seq, time, video
See Also
HTML+TIME