jQuery mouseover and mouseleave drop down menus

前端 未结 4 1857
-上瘾入骨i
-上瘾入骨i 2021-02-15 15:48

The following displays a menu:

ONZE WAARDEN

4条回答
  •  梦如初夏
    2021-02-15 15:52

    hover plugin includes both mouseenter and mouseleave follwing code works fine for me

    javascript:

    $(document).ready(function(){
    
        $('.dropdown').hover(
        function(){
    
            $(this).children('.dropdown-menu.pricing-drop').slideDown('fast');
        },
        function () {
            $(this).children('.dropdown-menu.pricing-drop').slideUp('fast');
        });
    });
    

提交回复
热议问题