D
D
Danil Namaste2017-12-11 22:25:06
css
Danil Namaste, 2017-12-11 22:25:06

How to make dropdown menu by HOVER?

Hello forumites.
Can't get the menu right.

The menu is located in the footer.
It is necessary that on hovering the mouse it opens, and when you remove it, it hides.
Now it works, but not quite right (when you move the cursor to the left of the menu button, the menu disappears and immediately pops up again). Below is the code I used.

$('#icon_footer').hover(function(){
        $('#list_menu').show(350);
        return false;
    });
     
    $('#list_menu').mouseleave(function(){
      $('#list_menu').hide(200);
        return false;
    });

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
RALMAZ, 2017-12-11
@htmlcssverstka

It's as easy as shelling pears to do with CSS
only

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question