jQuery mouseover and mouseleave drop down menus

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

The following displays a menu:

ONZE WAARDEN

4条回答
  •  说谎
    说谎 (楼主)
    2021-02-15 15:49

      $(document).ready(function () {
                    $('#Dropdown').mouseover(function () {
                        $(this).slideDown();
                    });
                });
     $(document).ready(function () {
                    $('#Dropdown').mouseleave(function () {
                        $(this).slideup();
                    });
                });
    

    i think this might help..

提交回复
热议问题