You might need the color plugin for this:
http://plugins.jquery.com/project/color --Karl _________________ Karl Swedberg www.englishrules.com www.learningjquery.com On Jan 17, 2008, at 10:13 AM, quirksmode wrote:
Hi, I tried having a go and this is as far as I got: <script> $(document).ready(function(){ $(".animate").hover(function() { $(this).animate({ opacity: 0, backgroundColor: "#FF0000" }, 1000 ); }); }); </script> I can get any element with class = "animate" to fade away, but I cant apply the same effect to just the background. Is it possible to fade away css elements? If you could provide the code that would be amazing:-)