Hello again,
unfortunatly i did not found answeer on this forum, because people are doing thing much more complicated than what i want to do. I have watch many tutorials and me makes me almost what i want.
I am trying to do a basic slider with Multi state box →
_I have 7 different boxes (with a testimonial text images, buttons on it).
_There 2 button with an arrow icon on it. One for next, and one for previous.
With this code i managed to make the next button work (it’s going on the second testimonial) :
export function button4_click(event) {
$w('#multiStateBox1').changeState('testimonial2')
// This function was added from the Properties & Events panel. To learn more, visit http://wix.to/UcBnC-4
// Add your code for this event here:
}
My problem is, when i copy and paste, this code and change button4 with button5 it doens’t work.
An other way to explain my “testimonial slider”
multiStateBox1
testimonial1
button4 (link to testimonial7)
button5 (link to testimonial2)
testimonial2
button4 (link to testimonial1)
button5 (link to testimonial3)
testimonial3
button4 (link to testimonial2)
button5 (link to testimonial4)
[…]
testimonial7
button4 (link to testimonial6)
button5 (link to testimonial1)
If someone can help me please I would be so greatful and nice. (I’m not english native speaker btw)