Main Page Sitemap

Most viewed

Fisherman 1.0 Crack and Serial key
Bleacher Report Sports. Highlights. News. Now Weekly restaurant specials save diners dollars - Tulsa World Disability (Access to Premises - Buildings) Standards 2010 BISMARCK – With three and a half months to go in 2015, North Dakota has recorded more than 100 traffic fatalities and...
Read more
Kernel Novell - Data Recovery Software 4.03 Serial key plus patch
Download Download QuickBooks is an accounting software product developed by Intuit, Inc.There are several different flavors of the software tailored to specific industries; however, the underlying program remains largely the same, the chief differences being industry customized pre-built reports, industry appropriate language (clients vs...
Read more
MS SQL Server Paradox Import, Export & Convert Software 7.0 Serial key and patch
ArcSoft PhotoStudio Darkroom is a Photo Image software developed by ArcSoft, Inc. After our trial and test, the software is proved to be...
Read more

Video to GIF 5.2 not need Activation


Kazi Sound Recorder 3.5 License Key included

How to Add/Set Facebook Profile Picture as Video or GIF on How to Install and Setup W3 Total Cache and MaxCDN for Beginners

I realise this answer is late, but I found a rather simple, elegant, and effective solution to this problem and felt it necessary to post it here.

However one thing I feel I need to make clear is that this doesn't start gif animation on mouseover, pause it on mouseout, and continue it when you mouseover it again. That, unfortunately, is impossible to do with gifs. (It is possible to do with a string of images displayed one after another to look like a gif, but taking apart every frame of your gifs and copying all those urls into a script would be time consuming)

What my solution does is make an image looks like it starts moving on mouseover. You make the first frame of your gif an image and put that image on the webpage then replace the image with the gif on mouseover and it looks like it starts moving. It resets on mouseout.

Just insert this script in the head section of your HTML:

$(document).ready(function() { $("#imgAnimate").hover( function() { $(this).attr("src", "GIF URL HERE"); }, function() { $(this).attr("src", "STATIC IMAGE URL HERE"); }); });

And put this code in the img tag of the image you want to animate.

id="imgAnimate"

This will load the gif on mouseover, so it will seem like your image starts moving. (This is better than loading the gif onload because then the transition from static image to gif is choppy because the gif will start on a random frame)

for more than one image just recreate the script:

<script type="text/javascript"> $(document).ready(function() { $("#imgAnimate1").hover( function() { $(this).attr("src", "gif/1303552574110.1.gif"); }, function() { $(this).attr("src", "STATIC IMAGE URL HERE"); }); $("#imgAnimate2").hover( function() { $(this).attr("src", "gif/1302919192204.gif"); }, function() { $(this).attr("src", "STATIC IMAGE URL HERE"); }); $("#imgAnimate3").hover( function() { $(this).attr("src", "gif/1303642234740.gif"); }, function() { $(this).attr("src", "STATIC IMAGE URL HERE"); }); $("#imgAnimate4").hover( function() { $(this).attr("src", "gif/1303822879528.gif"); }, function() { $(this).attr("src", "STATIC IMAGE URL HERE"); }); $("#imgAnimate5").hover( function() { $(this).attr("src", "gif/1303825584512.gif"); }, function() { $(this).attr("src", "STATIC IMAGE URL HERE"); }); }); </script> </head> <body> <img id="imgAnimate1" src="STATIC IMAGE URL HERE" alt="" > <img id="imgAnimate2" src="STATIC IMAGE URL HERE" alt="" > <img id="imgAnimate3" src="STATIC IMAGE URL HERE" alt="" > <img id="imgAnimate4" src="STATIC IMAGE URL HERE" alt="" > <img id="imgAnimate5" src="STATIC IMAGE URL HERE" alt="" > </body>

That code block is a functioning web page (based on the information you have given me) that will display the static images and on hover, load and display the gif's. All you have to do is insert the url's for the static images.



How to Add/Set Facebook Profile Picture as Video or GIF on
How to Install and Setup W3 Total Cache and MaxCDN for Beginners


202
Sitemap