K
K
kimqar2020-05-07 14:47:59
JavaScript
kimqar, 2020-05-07 14:47:59

Opening and closing a block and writing to cookies?

Help! There is a hidden menu and a block that opens the menu when clicked. How to make it so that if the menu is open, then it will also be open on other pages?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Arseny, 2020-05-07
@kimqar

https://developer.mozilla.org/en/docs/Web/API/Docu...
https://developer.mozilla.org/en/docs/Web/API/Wind...
https://developer. mozilla.org/en-US/docs/Web/API/W...
Choose any repository, write a boolean (true\false) to it on click, and check it every time you run the code (on other pages).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question