共用方式為


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

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

Syntax

XML N/A
Scripting [ sTime = ] object.currTime

Possible Values

sTime A String 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 attribute or the t:REPEATDUR attribute is set on an element, the value of the currTime property resets each time the element repeats.

Applies To

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

See Also

Introduction to HTML+TIME, localTime