Hi Expert,
I'm rather new to JavaScript. I used some code from the W3school site:
https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_sidenav_push
But a strange thing happens when I use this script. I click the menu button and the menu appears I click a link to a page with the same menu and the new page opens with the menu in the initial closed state. But when I click the open link the menu no longer appears .
I think the status is opennav() and opening it up for the second time does not work.
Can I parse in the link to the second page to open up with its menu open?
All help is welcome.
Kind regards,
Frans
Our community of experts have been thoroughly vetted for their expertise and industry experience.
The Distinguished Expert awards are presented to the top veteran and rookie experts to earn the most points in the top 50 topics.