开发者

Where can I find a jQuery color animation plugin?

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开发者_JS百科.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.


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜