Answer the question
In order to leave comments, you need to log in
How to hide a block if another one is open?
Good afternoon, guys, there are 3 buttons and 3 blocks, each of the 3 buttons opens its own block. The question is how to close the previous block if one of them is open? For example, the block with id1 is open, by clicking on the 3rd button, the block with id1 closes and opens with id3? Help, please. For now, here's what happened:
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question