0

I have a trigger that changes the background of a div to an animated gif I would like the javascript to force the image to animate again every time it is set as the background, however it currently only loops once and then displays the last frame after that.

Any ideas?

I tried adding ?v=1 but it seems that that causes a delay as the image loads again. I would prefer to have the image saved in cache but trigger the animation to restart

Go Nate
  • 95
  • 1
  • 1
  • 7

0 Answers0