t:DECELERATE Attribute | decelerate Property?deprecated) | DHTML中文手册 |
sets or retrieves a value that applies a deceleration to the end of a simple duration.
dhtml语法
xml <ELEMENT t:DECELERATE = fRate... > Scripting object.decelerate [ = fRate ]
DHTML可能的值
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.
0 Default. 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.
是否符合公共标准
This property is a Microsoft extension to HTML+TIME (Timed Interactive Multimedia Extensions) .
Applies To
t:AUDIO, t:IMG, t:MEDIA, t:PAR, t:SEQ, time, t:VIDEO
更多语法参考
Introduction to HTML+TIME