On Hover I'm trying to add a class and to change image but my image still stay still on hover. fiddle
$( "img.animation" ).hover(
function() {
$( this )
.attr('src', "https://raw.githubusercontent.com/thoughtbot/refills/master/source/images/placeholder_logo_2.png")
.addClass("animated fadeInDown");
}, function() {
$( this )
.attr('src', "https://raw.githubusercontent.com/thoughtbot/refills/master/source/images/placeholder_logo_1.png")
.removeClass("animated fadeInDown").animate("slow");
}
);
image_animationin the class for your images; I assume you meant that the_to be a space?img.animation != img.image_animation.