IE9 中子菜单不可点击

发布于 2024-10-31 19:46:00 字数 194 浏览 5 评论 0原文

在我的网站 http://www.mvl.eu 上,我使用 superfish 作为子菜单。子菜单可见(z-index 问题),但不可单击,因为如果您移动到子链接,它就会消失。 这个问题只出现在IE9中,直到IE8才出现问题。有人可以告诉我问题是什么,因为我完全没有想法。 谢谢!

On my website http://www.mvl.eu I used superfish for a submenu. The submenu IS visible (z-index problem), but is is not clickable, because it disappears if you move to the sublinks.
This problem only happens in IE9, until IE8 there was no problem. Can someone please tell me what the problem is, because i'm pretty out of ideas.
Thanx!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(2

诗笺 2024-11-07 19:46:00

刚刚检查了您的网站,我可以确认这也是 IE7 上的问题,除非您向下移动鼠标的速度足够快。看起来菜单标题的定义和菜单项之间存在某种差距。也许问题在于鼠标何时位于这个间隙中?

Having just checked your website, I can confirm this is also an issue on IE7, unless you move the mouse down fast enough. Looks like there is some kind of gap between the definition of the menu title, and the menu items. Perhaps the issue is when the mouse is in this gap?

半葬歌 2024-11-07 19:46:00

感谢您的帮助。让我部分回答我自己的问题。 IE9 中的问题是我网站上的所有 javascript / Jquery 元素不再工作。 superfish 子菜单在链接和子菜单之间有一个小间隙,但在 javascript 中,菜单消失之前有一秒钟的延迟,足以跨越这个小间隙。如果没有 javscript,延迟为 0 秒,因此只要您用鼠标进入间隙,子菜单就会消失。我将子菜单放置在链接旁边,这样问题就得到了解决,即使禁用了 javascript,菜单也能正常工作。
真正的问题是为什么这些 javascript / jquery 元素(如 lightbox、superfish 和 nivoslider)在 IE9 中不起作用。

Thanx for the help. Let me partly answer my own question. The problem in IE9 is that all the javascript / Jquery elements on my website don't work anymore. The superfish submenu had a little gap between the link and the submenu, but in javascript there was a delay of a second before the menu disappeared, enough to cross the little gap. Without javscript the delay was 0 sec, so as soon as you entered the gap with the mouse, the submenu disappeared. I positioned the submenu right next to the link so the problem is fixed and the menu works even with javascript disabled.
The real question is why these javascript / jquery elements like lightbox, superfish and nivoslider don't work in IE9.

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