I have 5 buttons and I want that when a user click on button1, 2 different images appear in the page.
When the user clicks button2, another few different images show up, etc.
Is that possible? If so how?
I have 5 buttons and I want that when a user click on button1, 2 different images appear in the page.
When the user clicks button2, another few different images show up, etc.
Is that possible? If so how?
Simple way would be to add the pictures to the screen, mark them hidden.
For each button, add an onClick() event trigger function and in each button onClick() function, add a $w(“#image1”).show(). and .hide() the other images.
There are very elegant ways of doing this, but there are also tutorials out there that can guide you step-by-step to learning basic and advanced Wix Velo. You could start with the Wix courses on codecademy.com. This is pretty thorough and fun: https://www.codecademy.com/learn/create-a-professional-website-with-velo-by-wix