L
L
Laid2016-04-11 13:52:27
PHP
Laid, 2016-04-11 13:52:27

The submenu closes after selection, how to make it not close?

vh130226.eurodir.ru
On this site, the side menu closes after selection. Please tell me how to make it so that after reloading the page - side. the menu opened by the user and remained open?
Bootstrap and jasny-bootstrap

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
kpa6uu, 2016-04-11
@kpa6uu

Alternatively, cookies. When opening a specific block, fill in the value - when opening the page, check the value in the cookies and add the block selection class to the specific block.
(JS)

A
aarty20, 2016-04-12
@aarty20

you can do it in js - before loading, check which page we are on and open the menu (you open it by adding the "open" class to the li element. )

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question