Jump to a specific slide

Does anyone know how I can link to a specific slide within a slideshow on a page? Either from within the Editor or by JavaScript? Thanks.

Hi Katherine,

Yes, get your slideshow form the " Interactive " section, then use .changeSlide(slideNumber) to scroll to the slide you wish. Ex

$w("#slideShow").changeSlide(2);//will scroll to the 3rd slide, starts from 0

Hope this helps!
Best,

Mustafa

Thanks, i did see that in the API, but I want to link to the page showing a specific slide from another page. How do I create the link on the first page to pass over the slide number? Can I do it based on the slide name too? Once I know how to create the link, I can then put the code above in something on load of the page to preset the slideshow, I guess.

Regarding the linking, before you redirect, set the local storage item to have the value of the slideshow currentIndex, for more information Check :
1- local storage - HERE
2- current index - HERE

on the other page, set the current item index as the above.

Thanks!

Katherine, could you share the final code for your starting page and your slideshow page? I’m not sure how to format the current index function

Sorry I don’t think I ever managed to get it working like I was wanting so I made do without the slideshow in the end.