Is it possible to start .gif animation when you hover over it and pause it when you do not hover over it? I do not want to reset the image to the beginning of its animation, stopping above it.
EDIT: Thanks for the help, but nothing worked out as I wanted. The best solution I found for this was as follows:
HTML:
<img id="gif1" src="static1.jpg">
JS:
$("#gif1").hover( function() { $(this).attr("src", "animate1.gif"); }, function() { $(this).attr("src", "static1.jpg"); } );
So just a reboot.
source share