开发者

Drop-Down Menu with jQuery and css

开发者 https://www.devze.com 2023-03-26 14:24 出处:网络
why slideDown() and slideUp() does not work true on my menu? They are 开发者_StackOverflowrepeated several times with mouseover().

why slideDown() and slideUp() does not work true on my menu?

They are 开发者_StackOverflowrepeated several times with mouseover().

see you: jsfiddle-my codes


You are hiding the ul:

#nav ul {
    display: none;

But you want to slide in the li inside the ul:

$('#nav li ul li').slideDown();

Therefore,

$('#nav li ul').slideDown();

works fine.

0

精彩评论

暂无评论...
验证码 换一张
取 消