$(".column a").mouseenter(function() {
var color_column=$(this).closest('.column').children('.coloured-strip').css('color');
$(this).siblings('p').animate({color:color_column},2000);
$(this).animate({color:color_column},2000);
});
There’s any way I can group the two animate functions into one since they’re identical?
thanks
luca
Sure, just use
.add():