Nice plugin. :) I whipped up a demo. http://commadot.com/jquery/animateBackground.php
Is this what you mean? Glen On Jan 17, 2008 8:36 AM, Karl Swedberg <[EMAIL PROTECTED]> wrote: > > 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:-) > >