Hover the image to star the animation.
var log = $('.log');
$('.showOnHover').showOnHover({
fx: 'rt',
durationIn: 600,
durationOut: 1200,
easingIn: 'easeOutBounce',
easingOut: 'easeInOutElastic',
enter: function(a){log.html('Animation In started ...');},
complete: function(){log.html('Animation In completed.');},
out: function(){log.html('Animation Out started ...');},
end: function(){log.html('Animation Out completed.');}
});
<div>
<img src="http://lorempixel.com/200/200/abstract"/>
<div class="showOnHover">
<img src="http://lorempixel.com/200/200/fashion"/>
</div>
</div>