0

Possible Duplicate:
jQuery animate backgroundColor

I'd like to have a div glow or change colour to indicate to someone that they've received a message. How can I go about animating the background colour of a div in this way?

Community
  • 1
  • 1
James P.
  • 19,313
  • 27
  • 97
  • 155
  • Not quite. I forgot to mention that I want this to be cyclical and triggered on page load. However, it shouldn't be hard to adapt the code given. – James P. May 07 '11 at 23:46
  • Oh noes, flagged by Jeff. I is doomed ;) . More seriously, I did search for this question but using terms such as "glow", "fade" and "transition". It seems I wasn't far off with the word animate. – James P. May 08 '11 at 14:36

1 Answers1

1

You can use the color plugin Hope this helps.

Edgar Villegas Alvarado
  • 18,204
  • 2
  • 42
  • 61
  • It does. Here's a link with a decent demo (see color animations): http://docs.jquery.com/Release:jQuery_1.2/Effects – James P. May 07 '11 at 22:19