I'm working on a popup menu based on this concept:
https://tympanus.net/Development/ResponsiveMultiLevelMenu/
Here is my working sample so far:
http://cigfamilies.com/menutest/index.htm
I'm just using a series of popup menus, and as you can see, it's not bad.
The code for the "back" button on the submenus is something I found on the XaraXhris "how to do popups" video -
basically it entails closing the submenu popup while at the same time opening the main menu popup with a link such as popup: "menu1" close "menu2".
As you can see, the main menu when on the homepage closes automatically.
That is to say the hamburger triggers the main menu via a mouseover effect, and when you mouse away, the menu fades away. That's perfect, that's what I want.
The problem I am encountering (and this is the complicated part) is that when I click on a subcategory such as "bowls", and then go "back" to the main menu, the main menu no longer closes automatically.
It is now "stuck", and won't close unless I again click the word "home" or refresh the page.
Naturally we an't ask our users to do that.
Can anyone give me a tip as to how to retain the "close automatically" effect when I click "back" from one of the submenus?
Hopefully I've clarified the issue adequately.
I've also attached the .xar file. menutest.xar
Thank you
Bookmarks