I have a simple jquery function that fades in an overlay on hover of an image:
if($(".portfolioThumbs").length>0){
$(".magnify").css("opacity","0");
$(".magnify").hover(function(){$(this).stop().animate({opacity:1},"slow")},function() {$(this).stop().animate({opacity:0},"slow")}
)};
How can I get this same effect to work on mobile? I read somewhere you can use 'touchstart' and 'touchend' - if that is right, how could I combine that into this function?
Thanks!