test animation de couleur

by ydelmas

HTML

<a href="#">test link</a>

JavaScript

$('a').mouseover(function (){
    $(this).animate({color: '#FF0000'})
});
$('a').mouseout(function (){
    $(this).animate({color: '#0000FF'})
});