Partilhar via


t:DECELERATE Attribute | decelerate 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 a value that applies a deceleration to the end of a simple duration.

Syntax

XML <ELEMENT t:DECELERATE = fRate... >
Scripting [ fRate = ] object.decelerate

Possible Values

fRate A floating-point number that specifies a value between 0 and 1 that represents the portion of the local timeline over which the deceleration is applied. The local timeline refers to the timeline associated with a particular HTML element,such as a div or span, instead of the global timeline associated with the entire document.
0
Default. Deceleration is not applied to the element timeline.

The property is read/write. The property has a default value of 0.

Remarks

The simple duration is the segment of time from when the element begins playing until it completes one forward cycle of its behavior, excluding repetitions.

If the t:REPEAT o attribute or the t:REPEATDUR attribute is set on an element, the deceleration occurs each time the element repeats.

The t:DECELERATE attribute is well-suited to animation content and behaviors. Setting this attribute to a nonzero value does not affect the duration of the timeline in any way, but it might change the effective play speed of the local timeline.

The sum of the values for the t:ACCELERATE and t:DECELERATE attributes must not exceed one. This property is commonly known as "ease-out" in some systems.

Applies To

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

See Also

Introduction to HTML+TIME