E
E
EvgMul2016-07-08 15:28:25
css
EvgMul, 2016-07-08 15:28:25

How to implement opening/closing of multiple spoilers?

Hello.
The problem is the following. There are several spoilers that can be opened. The opening/closing is written in jquery.
How can I make it so that only 1 spoiler can be open? Those. you open another, the one that was open closes.
Thanks in advance to all who respond.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sim3x, 2016-07-08
@EvgMul

Before opening a spoiler - close all the others

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question