We have a non-looping animated .gif as the Home page header image, and it is intended to be non-looping.
But we now want it to replay/restart if the page is refreshed, but nowerdays everything is cached … and this means annimated.gifs tend not to replay.
img.src = "your_image_url.gif"+"?a="+Math.random();
But it’s WordPress, so we can’t edit the inline code(or can we?).
We have the ‘scripts n styles’ app already installed, can we do something here?
How could we write a script to append/overwrite the header-image source?
The page I need help with: [log in to see the link]
- The topic ‘How replay an animated .gif header image on refresh’ is closed to new replies.