Click to return to the DHTML, HTML     
t:VIDEO Element | video B...     AUTOREVERSE Attribute | a...     Default Behaviors Referen...    
Web Workshop  |  DHTML, HTML & CSS

ACCELERATE Attribute | accelerate 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 an acceleration to the element's local timeline.

Syntax

HTML <ELEMENT STYLE="behavior:url(#default#time);" t:ACCELERATE = iPercent... >
Scripting object.accelerate [ = iPercent ]

Possible Values

iPercent Integer that specifies a value between 0 and 100, and represents the percentage 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), 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

If the REPEAT or REPEATDUR attribute is set on an element, the acceleration occurs each time the element repeats.

The ACCELERATE 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, but it could 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-in" 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.