Add a fade effect to this image replacement jQuery snippet -


i'm using image replacement jquery snippet when hovers on thumbnail, "main" image changes;

$('.circle img').hover(function () { $('#main-image').attr('src', $(this).attr('src')); }); 

is there way make "main" images fade 1 when hovers on .circle img instead of them switching?

using fadein() or fadeout() effect can done


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -