I have a site with quite long submenus. On the mobile version, the submenu shows without scrolling if only one is open, but if I open two I suddenly have a long and ungainly nav system. Ideally it would be great to have a toggle in the admin like 'close other submenus on open'
This would make mobile navigation much friendlier as an option.
I've tried digging into the source to see if there's a hacky way around this, but the classes on the li/a elements don't change (as far as I can see only the display: selector changes on the submenu - so I'm not sure how to approach it as I can't search for all 'open' classes and close them, adn the menu-pro.class file is a bit of a jQuery nightmare with lots of descendant selectors in every event.
I have a site with quite long submenus. On the mobile version, the submenu shows without scrolling if only one is open, but if I open two I suddenly have a long and ungainly nav system. Ideally it would be great to have a toggle in the admin like 'close other submenus on open'
This would make mobile navigation much friendlier as an option.
I've tried digging into the source to see if there's a hacky way around this, but the classes on the li/a elements don't change (as far as I can see only the display: selector changes on the submenu - so I'm not sure how to approach it as I can't search for all 'open' classes and close them, adn the menu-pro.class file is a bit of a jQuery nightmare with lots of descendant selectors in every event.