[jQuery] Re: Animating background color

2009-07-03 Thread CSEer

Maybe you need to use backgroundColor for the first instance as well.

On Jun 16, 6:20 pm, Apothem  wrote:
> I use jQuery 1.3.2 and tried to use:
>                 $('.applied').each(function(){
>                         $(this).css('background-color', '#ff').animate
> ({backgroundColor: "#000" }, "slow");
>                 });
>
> For some reason, the background doesn't change and my firefox debugs
> the error of "NaNpx" a few times. What is wrong?


[jQuery] Re: Animating background color

2009-06-17 Thread Jack Killpatrick


You can use this to animate that: http://plugins.jquery.com/project/color

- Jack

Apothem wrote:

I use jQuery 1.3.2 and tried to use:
$('.applied').each(function(){
$(this).css('background-color', '#ff').animate
({backgroundColor: "#000" }, "slow");
});

For some reason, the background doesn't change and my firefox debugs
the error of "NaNpx" a few times. What is wrong?