Mik*_*lik 7 jquery hyperlink jquery-animate
我想动态更改悬停事件中的链接颜色.到目前为止,我得到了以下代码,但它不起作用.有什么建议吗?在我看来,这似乎是正确的......
$('.fadelink').hover(function(){
$(this).animate({
color: '#333'
}, 600);
},
function(){
$(this).animate({
color: '#999'
}, 600);
});
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
19787 次 |
| 最近记录: |