开发者

animate function doesn't work with colors and anchors

I have problem with animate background color in navigate anchors:

$(this).animate({ backgroundColor: "black" }, 1000);

with size (like width) works correct.

Why I should to do to fade backgdround c开发者_Go百科olor?


Yes, colors doesn't work with the animation built into jQuery. Use the color animation plugin for that.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜