i made a dropdown menu for my wordpress theme.

If hovered i made it slideToggle.

The Problem is, if the mouse is moved to fast, it shows the dropdownmenu multiple times.

So i need a delay or something like this.

This is my function:

    $( document ).ready(function() {    
        $('#menu-headermenu li > .sub-menu').parent().hover(function(){
            $(this).children('.sub-menu').slideToggle(200);
        }); 
    });

Someone having a idea how i can do it better?

Read more here: jquery dropdown menu delay


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Related Wordpress search:

, , ,

Wordpress related questions and answers: