Dhtml 菜单导航问题

发布于 2024-09-26 17:21:12 字数 134 浏览 10 评论 0原文

我找到了一个垂直菜单,但我遇到了一些问题,我无法在子菜单中正确导航,因为当我向下移动时我错过了菜单。

在这里我留下网站 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

ˉ厌 2024-10-03 17:21:12

菜单链接太宽,导致鼠标悬停目标区域与子菜单重叠。它应该类似于 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 like 110px. Also, you could try setting the z-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.

    ~没有更多了~
    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文