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.