Hello all… I am new to WIX and have come across a function I would like to do and struggling to get it to work just right.
I have added 12 buttons and 12 container boxes. Container boxes shall stay hidden until a specific button is clicked. The last button clicked will leave it’s container box until the next button is clicked etc.
So… I managed to figure out how to click button 1 and get container 1 to reveal just as I hoped, however nothing happens when I then click button 2.
Hi,
I’d recommend you to check out this article about wix code’s basics.
You need to create an onClick event for each button, in the event’s code show the box you want and hide all other boxes(you can do that simply using the API, check it out here ).