Mega Menu
Multi level primary site navigation (up to 3 levels); includes account-related menu items (i.e. Donate, Join). Includes implementation of mobile menu.
Assumptions:
- L1 menu should allow for a minimum of 4 menu items, or a maximum of 5 menu items
- Clicking on a L1 menu item displays its child L2 menu items (if available) in a drop down.
- If an L1 menu item has child pages, display a “down” icon (otherwise hide the icon)
- On click of the L1 menu item, open the drop down menu
- If L1 link has , remove it from the L2 drop down and display only L2 items
- Maintain existing mega menu option for content editors to include an image / text / CTA in the drop down menu
- If an L2 menu item has child pages, display a “ → ” icon (otherwise hide the icon)
- On click of the “ → ” icon, expand to display L3 pages
- If L2 link has , remove it from the L3 drop down and display only L3 items
- Double clicking an L2 menu item with child pages will open the L2 page
- L3 links will show their parent (L2) as a clickable item at the top of the L3 menu list
- L4 or deeper pages will NOT be accessible via the mega menu
Issue fork ws_small_y-3476415
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
rolki commentedHi,
Thanks for working on this, a few small comments, please check it out.
Comment #5
podarokComment #9
podaroktnx