【发布时间】:2011-04-09 17:12:27
【问题描述】:
我正在使用color plugin(链接到 google 缓存,jquery.com 目前已关闭)来处理背景颜色动画。
$(".navigation a").hover(
function(){
$(this).stop().animate({backgroundColor: black});
},
function(){
$(this).stop().animate({backgroundColor: green});
$(this).hide();
}
);
动画完成后需要隐藏当前链接。现在它立即隐藏,在mouseout()。
解决办法是什么?
【问题讨论】:
标签: jquery colors background animation