VALUES Attributes | values Property

This example demonstrates how you can set a semicolon-delimited series of values for the values attribute when using the t:ANIMATECOLOR element to animate color properties. The outer DIV element initially changes colors from blue (#0000FF) to cyan (#00FFFF) over a five-second duration; the inner DIV reverses this animation over the same duration.

Click any button from the first group to set the first value for the t:ANIMATECOLOR element's values attribute (the animation for the inner DIV element); click a button from the second group to set a second value in the series. The color value series you select for the inner DIV's animation will be played in reverse by the outer DIV element when you click the Restart button.


outerDIV
innerDIV
First value in series:
Second value in series:

To view the source code, right-click this page and choose View Source from the shortcut menu that appears.

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