Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
1 vote
1 answer
369 views

closing dropdown mobile menu after opening and loading a menu items

I am using the foundation off-canvas menu with dropdown. Some of the items menus are not clickable but showing their submenus using this function: $('.page-item-1765 > a, .page-item-1761 > a')....
Maureen Placente's user avatar
0 votes
1 answer
591 views

Menu slide toggle. Function not executed on screen width

I'm trying to make a menu for a responsive site. The click function already works but I want the menu to slide up when the screen size is smaller than 850 pixels but I can't seem to get the function ...
Jannik's user avatar
  • 53
1 vote
1 answer
624 views

Jquery hide mega dropdown

I'm trying to build a mega dropdown navbar. Jquery is not a strong point of mine but I need to use it to achieve what I'm looking for. I'm aware of the various topics on similar questions but none of ...
HermannHH's user avatar
  • 1,742
1 vote
1 answer
597 views

Close Dropdown When Clicking Adjacent

I am using the following for a dropdown menu. It works great, however, I can't figure out how to get an open dropdown to slideUp if somewhere in the body is clicked, or another dropdown is clicked. $(...
Aj Troxell's user avatar
0 votes
2 answers
827 views

Using jQuery .on() to make a drop-down menu

I'm trying to make a jQuery drop down menu, that adds a class to know if it's down or up. But for some reason the .on() function doesn't seem to respond to clicks. What are I doing wrong? Here is my ...
Drew Baker's user avatar
  • 14.3k
14 votes
2 answers
36k views

JQuery dropdown menu using slideup and slidedown on hover is jumpy

I've made a very simple dropdown menu using jQuery slideup and slidedown for the functions - but it gets very jumpy (I'm using Firefox 3.6.8) if the mouse is moved to quickly over it, or if the mouse ...
heathwaller's user avatar