Click to return to the DHTML, HTML     
REPEAT Attribute | repeat...     sound Property     Default Behaviors Referen...    
Web Workshop  |  DHTML, HTML & CSS

REPEATDUR Attribute | repeatDur Property


This document describes technologies available as an experimental implementation of HTML+TIME within Internet Explorer 5. While we encourage you to evaluate these features and to send us your feedback, please note that these features are subject to change.

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:
indefiniteTimeline repeats indefinitely.
totaldurTotal 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

[ Object Name ]
PlatformVersion
Win16:
Win32:
Mac:
Unix:
WinCE:
animation, audio, img, media, par, seq, time, video

See Also

HTML+TIME


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.