rory-h rory-h - 1 year ago 92
CSS Question

Close meanmenu on menu links

I'm using the meanmenu plugin. As directed by the page - I should put an option "onePage : true" but that doesn't work. I need the mobile menu to close when a link is selected.

At present menu is working but stays open until user clicks close button
If I click the X it closes menu ok.

How can close the menu when I click any of the menu links?

Here's the link to my page:

Answer Source

A hide on click event should do the work

$('.bigMenu li').click(function(){
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download