t:ACCELERATE Attribute | accelerate 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 an acceleration to the element's local timeline.
Syntax
XML <ELEMENT t:ACCELERATE = fRate... > Scripting [ fRate = ] object.accelerate
Possible Values
fRate A floating-point number that specifies a value between 0 and 1 which representsg the portion of the local timeline over which the acceleration 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. Acceleration is not applied to the element timeline.
The property is read/write. The property has a default value of 0.
Remarks
If the t:REPEAT attribute or the t:REPEATDUR attribute is set on an element, the acceleration occurs each time the element repeats.
The t:ACCELERATE attribute is well-suited to animation content and behaviors. Setting this attribute to a nonzero value does not affect the duration of the timeline, 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 also commonly known as "ease-in" in some systems.
Applies To
t:AUDIO, t:IMG, t:MEDIA, t:PAR, t:SEQ, time, t:VIDEO
See Also