Code Button to Advance to Next Slide

Hi just a thought…from this link on the API reference https://www.wix.com/code/reference/$w.Slideshow.html#next
you can do this.
$w(“#myElement”).next();

What you would do in the editor is the following.

  1. select the READ MORE button that you wanted to use to move the slide show forward.
  2. in the properties panel select the onClick event (hit the little blue + button and it will create an event handler for you after you hit the Enter key)… bonus points for noticing that it is also a clickable link that will bring you straight to the newly create code in the code panel.
  3. add this code to your new handler $w(“#fullWidthSlide3”).next();
  4. it will look something like below

export function button1_click(event, $w) {
//Add your code for this event here:
$w(“#fullWidthSlides3”).next();
}

  1. I based that name on your screenshot…that’s about it. preview it and it should roll.

hope that helps a bit!