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?
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?