I am using this code below to swap on image on hover:
$(function() { $('#compost').hover(function() { origImage=$(this).attr('src'); $(this).attr('src', 'images/order-compost-over.gif') },function() { $(this).attr('src', origImage) }); });
Ia m trying to use fadeIn instead of a swap. I tried working it in but no luck.I tried having the img tag fadeIn but it didnt work.
Check out ImageSwitch. Does everything you want and a fair bit more.