1

I am using the superfish plugin for jquery here: clicky

it works fine in all modern browsers FF,Safari, Chrome, IE8

but it seems like the z-index is not working in ie6 and 7

you can see the menu is appearing, but being cut off by the elements below it.

I have tried adding a z-index everywhere I can think of but nothing seems to fix this.

How can I fix this?

Thanks!!!

4

3 回答 3

1

我现在手头没有IE6,所以我可以为您测试。

您可以尝试将“位置:相对”添加到您正在应用 z-index 的元素。

于 2010-04-01T15:27:15.973 回答
0

感谢 Emily 在另一个Stack Overflow 问题上为我指明了正确的方向。

  • IETester是检查各种 IE 版本的有用工具
  • superfish FAQ 链接的博客文章修复了 IE8 的问题。
  • 对于 IE6/7(可能与上述 IE8 的修复相结合),我发现我的 Suckerfish 版本必须将 z-index 放在.sf-menu li
于 2010-11-23T19:49:35.803 回答
0

在 IE 中使用superfish你应该使用 bgiframe 插件。从超级鱼常见问题解答

Superfish 插件可以与任何其他插件一起使用吗?

是的——这里有一些有用的插件,您可能希望添加到您的菜单中:

...

4. BgIframe。您可能需要的另一个插件是 Brandon Aaron 的bgIframe 插件。这将解决本网站“bgIframe”示例中描述的 Internet Explorer 错误。90% 的人不需要这个(是的,我做了这个统计)。

于 2010-04-01T15:24:34.607 回答