Jump to content
WebFlake
  • 0

toliet handle animation


Guest tg-1manarmy

Question

Guest tg-1manarmy

on google chrome winbdows 7+ my sites logo will do a toliet handle animation my skin im using is FF Black Skin 3.4 cany help would be appriciated

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

Try setting it to yes,

 

But if it is only google chrome then maybe there is a setting in the browser for animation.

 

found this on the net for chrome.

 

Not sure if you still need a fix for this but this is what I had to do when the GIF was a background image. Chrome caches the GIF so it only plays once. You have to 'force' the animation to play again with some jQuery.

<script type="text/javascript">
$(document).ready(function () {
$("#myContainer").css("background-image", "url(/images/myAnimation.gif?"+ Math.random() + ")" );
});
</script>

Pretty much you add a random number at the end of the GIF url to force the browser to replay the animation because it thinks it is a new instance of the image. I would still put the GIF in the CSS on your element background just in case of JS issues on browsers.

Edited by Lock Down
Link to comment
Share on other sites

  • 0

Fixed thank you

If your problem has been solved, please would you mind marking the problem as e2926ca911205c0609cddf9850dae6cc.png on who ever solved your problem

The question(s) in this support topic have been answered and the owner has been able to solve the problem. Because of this, the support topic has been closed and moved.

If you have other questions, please open a new topic.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...