For non-Javascript animation effects you need CSS3. That means less support, especially in older browsers, but it works great when it works. Here's an example doing exactly what you describe (http://css3.bradshawenterprises.com/cfimg3/), or for more background you can read the whole thing (http://css3.bradshawenterprises.com/).
no subject
Date: 2012-01-11 05:32 pm (UTC)