I'm a Wix beginner. I understand the onClick Expand/Collapse. My question is:
Is there code to make anything collapse when clicking something else?
Example, 3 buttons show text. When clicking one button, do I need to put the code for both the other 2 buttons that would need to collapse the previous text or is there 1 piece of code that will collapse anything thats open so that it will show the new expanded text?
In otherwords, do I need code for button #1 to collapse button #2 and more code for it to close button #3? Or, is there a code to collapse anything it finds open instead of having to specify 1,2, or 3?
Thanks for anyones help :)