The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Is there a way to really “skip” the slides when going from say slide 1 to slide 20, instead of “sliding” to it.? It currently slides through the rest, in reaching 20.
If you want ALL slides to jump immediately to the slide, then just set the “animationTime” option to zero (demo):
// How long the slideshow transition takes (in milliseconds)
if you want to jump to a specific slide, say from an external link, then you can set the animation time to zero dynamically, then back to the original value in the callback function (demo).
var slider = $('#slider'),
data = slider.data('AnythingSlider');
// set animation time to zero
data.options.animationTime = 0;
// go to 5th slide, then in the callback reset the animation time
data.options.animationTime = 600;
Works beautifully… Thanks Mottie