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

Syntax

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

Possible Values

fRate Floating-point number that specifies a value between 0 and 1 representing 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), rather than the global timeline associated with the entire document.
0Default. Deceleration is not applied to the element's 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 or t:REPEATDUR attribute is set on an element, the deceleration occurs each time the element repeats.

The t:DECELERATE attribute is especially 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 1. This property is also commonly known as "ease-out" in some systems.

Standards Information

This property is a Microsoft extension to HTML+TIME (Timed Interactive Multimedia Extensions) Non-Microsoft link.

Applies To

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

See Also

Introduction to HTML+TIME