Hi,
The latest version of the slideshow has an (undocumented) API, so you can use your own JavaScript to control the slideshow.
You can find the uncompressed source code of the slideshow here.
To animate to a specific slide, you’ll need to ge the instance of the slideshow object. For this you’ll also need to get the “.slideshow_container” jQuery element object of the slideshow.
slideshowInstance = slideshow_jquery_image_gallery_script.getSlideshowInstance(jQuery('.slideshow_container'));
With the “slideshowInstance” instance reference you can control the slideshow. It’s a good idea to pause the slideshow before trying to animate to the next slide:
slideshowInstance.pause();
Next, you can call the “animateTo” method to show the slide corresponding to the passed integer index. The first slide has an index of 0.
slideshowInstance.animateTo(0);
You can then set the slideshow to play again:
slideshowInstance.play();
Best regards,
Stefan
Awesome! Thanks Stefan, that’s exactly what I need 🙂