Creating animations with HTML+TIME


  Close This Sample




t:ANIMATE, t:SET, oh:MY!

These animations use hidden HTML elements. Over time, the display property is set to block using the t:SET element. As each element is displayed, different attributes of the elements are animated using the t:ANIMATE element. Changing the left and top CSS attributes animate the positions. On the top animation, the background cycles through multiple colors using the t:ANIMATECOLOR element.

Various effects can be created when you animate filters that are applied to elements. For example, to create a fading effect, apply the alpha filter and animate the filter's opacity property.

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

For new and updated Web samples, visit the MSDN Online Web & Internet Samples site.