[英]Multilevel Dropdown Menu Issues with Jquery
So, first let me say I am not highly skilled in coding... 所以,首先让我说我在编码方面不是很熟练...
Here is my issue: 这是我的问题:
My dropdown works, but it displays the third level submenu when the first level is hovered over. 我的下拉菜单起作用,但是当第一级鼠标悬停时,它将显示第三级子菜单。 It is displaying the whole stack instead of each individual level as a user chooses to move down.
当用户选择向下移动时,它将显示整个堆栈,而不是每个单独的级别。 I'm sure it's an easy fix, but I can't seem to get it.
我敢肯定这是一个简单的解决方法,但似乎无法实现。 I should say too, that the list is being pulled from a wordpress menu...
我也应该说,该列表是从wordpress菜单中提取的...
您应该更改选择器以使一级孩子成为
J('>ul', this).slideDown(100);
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.