Hi Leslie,
For that, I would recommend using CSS to hide those links on larger screens.
Announcement
Collapse
No announcement yet.
Secondary Omega Menu
Collapse
X
-
Originally posted by Matt Zimmermann View PostHi Leslie,
To have multiple omega menus, you would have to modify the scripting to loop through all instances of the navigation which would, probably, require considerable work to test and implement. That not withstanding, the practice of having multiple "hamburger" menus, especially in a mobile situation, if frowned up from a usability standpoint. Depending on what is causing this need, you may want to research a different option.
Leave a comment:
-
Hi Leslie,
To have multiple omega menus, you would have to modify the scripting to loop through all instances of the navigation which would, probably, require considerable work to test and implement. That not withstanding, the practice of having multiple "hamburger" menus, especially in a mobile situation, if frowned up from a usability standpoint. Depending on what is causing this need, you may want to research a different option.
Leave a comment:
-
Secondary Omega Menu
I may be going about this all the wrong way but I'm needing to add a second "hamburger" menu for the mobile view (click the second icon and a different menu set opens in the same fashion as the primary_navigation). I understand that the Omega Menu is javascript drive. I was wondering if I could just add a few lines to it so it could activate the second menu. So far I haven't blown the javascript up but it just doesn't work.
I added this to the omega-navaigation.js
HTML Code:let omegaNavigation = document.querySelector('[data-hook="omega-navigation_1"]'); let omegaContent = document.querySelector('[data-hook="omega-navigation_1__content"]'); let parentLinks = document.querySelectorAll('[data-hook~="omega-navigation_1__link"]'); let childrenLinks = document.querySelector('[data-hook~="omega-navigation_1__children"]');
and I created the secondary_navigation (and added the item to the Global Header) and updated all the data-hooks from data-hook="omega-navigation" to include a _1 (for example data-hook="omega-navigation_1")\
Yeah, I'm probably doing this all wrong.Tags: None
Leave a comment: