currTime Property(deprecated) (t:AUDIO, t:IMG, t:MEDIA, ...)

HTML (DHTML)

currTime 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.

Retrieves a value indicating the current time along the simple duration as defined by the element's t:DUR or t:END attribute.

Syntax

XMLN/A
Scripting[ sTime = ] object.currTime

Possible Values

sTimeString that specifies the current time on the element's simple duration.

The property is read-only. The property has no default value.

Remarks

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

The simple duration is the amount of time it takes for the element to complete one forward cycle without any repetitions.

If the t:REPEAT or t:REPEATDUR attribute is set on an element, the value of the currTime property resets each time the element repeats.

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, localTime