BY Attribute | by Property

This example demonstrates how you can set the by attribute when using the t:ANIMATECOLOR element to animate color properties. The outer DIV's background-color attribute, which begins at #FF7F50, is progressively offset with the by attribute set in the a1 t:ANIMATION element. The value by which the outer DIV's background-color is offset is #808000, which is displayed in the inner DIV for comparison. Watch the color value display to see the values change.


outerDIV
innerDIV
0

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.