There is a task: when you first load the site, a hidden menu bar opens and with alternate winks of menu items, their presence is demonstrated, after the menu closes.
A part of the task has already been completed, the main point remains - this is the launch of this demonstration only when the site is first loaded; for all subsequent ones, the user will open the panel with a button.
Please help with advice or can anyone have a ready-made solution to this problem?
- 1) Cookies. 2) localStorage - Alexey Shimansky
|
1 answer
When loading, check for a certain value in cookie / localStorage , etc.
If there is no value: download first - you need to set this value and show a demonstration.
If the value is: the download is not the first - you do not need to show anything.
|