Click to return to the DHTML, HTML     
currTime Property     DUR Attribute | dur Prope...     Default Behaviors Referen...    
Web Workshop  |  DHTML, HTML & CSS

DECELERATE Attribute | decelerate Property


This document describes technologies available as an experimental implementation of HTML+TIME within Internet Explorer 5. While we encourage you to evaluate these features and to send us your feedback, please note that these features are subject to change.

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

[ Object Name ]
PlatformVersion
Win16:
Win32:
Mac:
Unix:
WinCE:
animation, audio, img, media, par, seq, time, video

See Also

HTML+TIME


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.