<分区>
编辑问题以包含 desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem .这将有助于其他人回答问题。
关闭 6 年前。
标签 javascript jquery css menu
<分区>
编辑问题以包含 desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem .这将有助于其他人回答问题。
关闭 6 年前。
我正在使用 meanmenu 插件。按照页面的指示 - 我应该添加一个选项“onePage:true”,但这不起作用。我需要在选择链接时关闭移动菜单。
目前菜单正在运行,但在用户单击关闭按钮之前一直保持打开状态 如果我单击 X,它会关闭菜单。
单击任何菜单链接时如何关闭菜单?
这是我页面的链接:http://54.169.61.153/teavana
最佳答案
点击事件隐藏应该可以完成
$('.bigMenu li').click(function(){
$('.bigMenu').hide();
$('.meanmenu-reveal').removeClass('meanclose');
});
关于javascript - 关闭菜单链接上的 meanmenu,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39738227/