t:REPEAT Attribute | repeat Property?deprecated)

Internet Development Index

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 retrieves the number of times an element's timeline repeats.

Syntax

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

Possible Values

vRepetitions Variant that specifies one of the following values.
indefiniteTimeline repeats indefinitely.
repetitionsFloating-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 or t:END attribute to define each repeat iteration. The t:REPEAT attribute has no effect if the duration is either 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 or 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.

Standards Information

This property is defined in HTML+TIME (Timed Interactive Multimedia Extensions) 1.0 Non-Microsoft link.

Applies To

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

See Also

Introduction to HTML+TIME