I’m trying to create 3 buttons on a slider so that when clicked the user will be brought to that page slide. I’m using the code
export function executiveButton_click() { $w(‘slideshow1’).changeSlide(0); }
export function managementButton_click() { $w(‘slideshow1’).changeSlide(1); }
export function repButton_click() { $w(‘slideshow1’).changeSlide(2); }
The executive (1) and rep (3) buttons dont work and when i click management (2) it works once and then stops. I’m writing the code on the page code and have also tried the site code but neither appears to work…any suggestions ? thanks