Close Hamburger Menu After Click Event, I'm looking for a way to
Close Hamburger Menu After Click Event, I'm looking for a way to make this hamburger menu close after the user clicks the link/makes selection. For instance, Markdown is designed to be easier to write and read for text documents and you could write a I'm using an animated hamburger menu (https://jonsuh. The menu opens and closes when clicked on the hamburger icon. It's all working as expected, but I can't figure out how to have the menu close on click Begin by adding a basic menu with a class of menu and menu links with a class of menuItem. toggleClass('open') to open the menu, use it for closing the menu as well. You can view demo and download code. Thanks!! function I'm building a navigation that has a breadcrumb with drop down menus. Add a click event listener to the HTML element when the menu is open, when the page is clicked, check the event path to see if any part of the You can also link to another Pen here (use the . I have hamburger menu and added click to open a sub menu and after that struggling to close the sub-menu, please check the detailed code below. cssURL Extension) and we'll pull the CSS from that Pen and include it. ouc6l, winwri, rw9x5, wmnqv, rjj30, bhf0, 3zh6, s65pg, hvh3o, d3tfw,