Export (0) Print
Expand All

t:REPEAT Attribute | repeat Property (deprecated)

This page documents a feature of HTML+TIME 1.0, which was released in Microsoft® Internet Explorer 5. We recommend that you migrate your content to the latest version of HTML+TIME, which implements the SMIL 2.0 Working Draft. See the Introduction to HTML+TIME overview for more information.

Sets or gets the number of times an element timeline repeats.

Syntax

XML <ELEMENT t:REPEAT = vRepetitions... >
Scripting [ vRepetitions = ] object.repeat

Possible Values

vRepetitions A variant that specifies one of the following values.
indefinite
Timeline repeats indefinitely.
repetitions
A floating-point number greater than 0 that specifies how many times the timeline repeats.

The property is read/write. The property has no default value.

Remarks

This property is deprecated. For similar functionality, refer to the repeatCount property available with the time2 behavior.

Use the t:DUR attribute or the t:END attribute to define each repeat iteration. The t:REPEAT attribute has no effect if the duration is not defined or is indefinite.

Do not use this property on the same element as the t:REPEATDUR attribute. Typically, t:REPEAT is set on elements that are time containers, such as the t:PAR element or the t:SEQ element. Elements containing the t:TIMELINE attribute are also time containers. If you set the t:REPEAT attribute on an element that is not a time container, it increases the element's duration by multiplying the duration by the repeat count. This causes the element to remain active on the timeline for the increased duration, but it doesn't change the element's appearance as it repeats the local timeline.

The prefix t is used to associate this attribute with an XML namespace.

Applies To

t:AUDIO, t:IMG, t:MEDIA, t:PAR, t:SEQ, time, t:VIDEO

See Also

Introduction to HTML+TIME

Community Additions

ADD
Show:
© 2014 Microsoft