Tag: megamenu

jQuery:菜单在点击时出现/消失

我一直在寻找网络,我找不到解决方案。 我也是jQuery的新手。 我的情况: 我有一个导航栏,其中的每个链接激活/触发megamenu(每个链接都有自己的megamenu)。 我需要的: 我需要一种方法让每个链接激活它自己的megamenu,megamenu应该关闭时: 用户单击导航栏中的另一个项目。 用户单击导航栏中的相同项目。 用户点击megamenu中的“关闭按钮”(X)图形(为简单起见,未在HTML中显示)。 HTML: Products & Services Content here… Support & Training Content here… Communities Content here… Store Content here… 我已经看过’性能下拉菜单’的脚本,但问题是它关闭了点击hover触发的菜单,正如我所说,我是jQuery的新手,我无法想办法使其适应我的需要。 http://www.sohtanaka.com/web-design/examples/drop-down-menu/ 任何帮助将不胜感激。 谢谢。