First of all, I have to confess that I'm not a programmer and I'm not familiar with coding, therefore, I'm sure my question will probably be really easy for some of you to answer.
I've created my site and using some tutorials I found online, I managed to add collapsible elements, using the code shown here https://www.wix.com/corvid/example/collapse-elements. Now, I have a number of headerboxes each with its fold, which is collapsed and expands when you click on the respective headerbox. It all works perfectly, but what I'd like to do is, say, if I click on headerbox1, all the other headerboxes fade out (or hide altogether) and then when I click on headerbox1 to collapse its fold, all the other headboxes appear again.
I hope I made myself clear and somebody is able to help me.
Thanks in advance!