FROM Attribute | from Property

This example shows how to use the FROM attribute to set the starting value of the animation. The moving DIV has a begin time of 2 seconds, a duration of 5 seconds, and a FROM value of 100 pixels. Notice that before the animation begins, the DIV is at 0 pixels but that the animation starts at 100 pixels.

Timer: 0
Moving DIV






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.