K
K
kim1232020-05-07 13:06:25
JavaScript
kim123, 2020-05-07 13:06:25

How to set the appearance of the block on all pages if initially it is not active?

There is a button "version for the visually impaired", by pressing which a block with a menu opens. How to make it so that if the block is active, then on other pages it was also initially active?

5eb3dd9e39b8a225497187.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
shsv382, 2020-05-07
@shsv382

The site/application needs to remember the "visibility" state of the menu. This can be done using:
1. cookies
2. setting the appropriate parameter in the account settings

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question