Multiple functions - only first one completing

Hi, I have buttons which jumps to specific slides, however only the first click is completed. Can someone suggest what is wrong with my code below?

export function button19_click(event) {
//Add your code for this event here:
$w( “#fullWidthSlides2” ).changeSlide( 0 );
}

export function button20_click(event) {
$w( “#fullWidthSlides2” ).changeSlide( 1 );
}

export function button21_click(event) {
$w( “#fullWidthSlides2” ).changeSlide( 2 );
}

export function button22_click(event) {
$w( “#fullWidthSlides2” ).changeSlide( 3 );
}

Are your buttons connected to these click events?

Yes, each button is connected. It’s just strange that only the first button click will register. Clicking any other button will then not do anything.

Please post the URL of your site so we can inspect. Only authorized Wix personnel can get access to your site in the editor.

Maybe there are other errors that prevent the code from continue running :thinking:?

There are no obvious errors appearing. here is the page: https://www.novadrive.com.au/about-us

You have the 4 buttons on the Slideshow itself, and I suspect that problem is a conflict in the onClick().

I experimented by moving the buttons to the Page itself, right above the Slideshow, and they worked just fine.