$('a').hover(function(){
$(this).stop();
$(this).animate({
color: '#22373A'
}, 'slow');
}, function(){
$(this).stop();
$(this).animate({
color: '#fe57a1'
}, 'slow');
});
Im using this to change the opacity of elements when hovering, but seems it wont work with color change. Any Ideas or suggestions?
regards
dennym
Have you considered using CSS transitions instead?
HTML:
CSS:
Demo: http://jsfiddle.net/HTDSJ/