Skip to content
This repository has been archived by the owner on May 5, 2021. It is now read-only.

rotating animated gifs #395

Open
NinjaCodeVixen opened this issue Feb 11, 2016 · 0 comments
Open

rotating animated gifs #395

NinjaCodeVixen opened this issue Feb 11, 2016 · 0 comments

Comments

@NinjaCodeVixen
Copy link

I've used this slider code many many times and it has always served me well. I now have a requirement to slide through numerous animated gifs. These gifs are 20 seconds each in length for a single cycle. I am using nivo slider to display them, and the slider is working in general. However, when a new gif (slide) is shown, it is not necessarily "restarting" the gif from the beginning of its cycle. The gif is shown at some random point within. I assume this is because the gif is still animating behind the scenes, even when the slider is not showing it. Do you have any suggestions on how to accomplish this restart? I've edited your js code to append +"?"+Math.random() to the code where you assign the image src, hoping that it will just pull the gif from the net again. But this is not helping. Here is my launch code. Have you solved this before? Any tips?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant