Sets or retrieves a value that applies a deceleration to the end of a simple duration.
Syntax
HTML <ELEMENT STYLE="behavior:url(#default#time);" t:DECELERATE = iPercent... > Scripting object.decelerate [ = iPercent ]
Possible Values
iPercent Integer that specifies a value between 0 and 100, and represents the percentage 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. The property is read/write with a default value of 0. This property cannot be modified in script after the onload event fires on the document body.
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 REPEAT or REPEATDUR attribute is set on an element, the deceleration occurs each time the element repeats.
The 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 ACCELERATE and DECELERATE attributes must not exceed 100. This property is also commonly known as "ease-out" in some systems.
The prefix t is used to associate this attribute with an XML namespace.
Applies To
animation, audio, img, media, par, seq, time, video
See Also
HTML+TIME