Dhtml 菜单导航问题
我找到了一个垂直菜单,但我遇到了一些问题,我无法在子菜单中正确导航,因为当我向下移动时我错过了菜单。
在这里我留下网站 www.timetarget.com/newsite
请任何帮助或评论将帮助我。
干杯
I found a vertical menu but I'm having some problems with it, i can't navigate properly in the submenu because i miss the menu when i move down.
Here I leave the website www.timetarget.com/newsite
please any help or comments will be help me .
Cheers
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
菜单链接太宽,导致鼠标悬停目标区域与子菜单重叠。它应该类似于
110px
,而不是142px
。另外,您可以尝试将子菜单元素的
z-index
属性设置得更高,以便它们显示在原始菜单上方,但这并不能解决您的问题问题本身。顺便说一句,您可以为任何一组相似元素提供相同的
class
属性,而不是单独设置每个元素的样式,并使用所有这些元素共享的任何属性来设置该类的样式。The menu links are far too wide, such that the mouseover target area overlaps the submenus. Instead of
142px
, it should be something like110px
. Also, you could try setting thez-index
property for the submenu<li>
elements higher so that they display above the original menu, but that won't solve your problem by itself.By the way, instead of styling each element individually, you can give any group of similar elements the same
class
attribute, and style that class with whatever properties all those elements share.