views:

22

answers:

1

I need an up-to-date jQuery color animation plugin that works in IE 8. I tried using the one at http://plugins.jquery.com/project/color but it causes errors like "Invalid property value." in the following line of code from color.js:

fx.elem.style[attr] = "rgb(" + [
    Math.max(Math.min( parseInt((fx.pos * (fx.end[0] - fx.start[0])) + fx.start[0]), 255), 0),
    Math.max(Math.min( parseInt((fx.pos * (fx.end[1] - fx.start[1])) + fx.start[1]), 255), 0),
    Math.max(Math.min( parseInt((fx.pos * (fx.end[2] - fx.start[2])) + fx.start[2]), 255), 0)
].join(",") + ")";

Where can I get something that works?

By the way, I really hate IE, if that helps.

+1  A: 

You can simply include jQuery UI, which enables color animation.

SLaks
Can I just include the color animation stuff without importing the other ui stuff?
George Edison
I believe you can build a custom download with nothing but Core.
SLaks
@SLaks: Seems to work so far. It took a minute or two to try - IE just crashed :)
George Edison
So to update, I tried it and it worked just great.
George Edison