Thursday, April 22, 2010

Using Jquery To Animate classes with chain events

Animating elements is a convention often used to add interactivity to a site. You implement animate so that as a user hovers over an image in a web site the image grows in dimension indicating functionality, or you might want to add flare animating the color property of a hypertext when it's been clicked.

But what if you want multiple items to animate when a user hovers over one element?

This article is intended to describe a basic, yet powerful, chain technique which will allow an element to trigger the .animate method to affect multiple items on a page.

The finished product.


No comments:

Post a Comment