Z-index问题在IE7与jquery superfish菜单插件 [英] Z-index problem in IE7 with jquery superfish menu plugin

查看:119
本文介绍了Z-index问题在IE7与jquery superfish菜单插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要修改jquery superfish菜单插件来适应菜单的图像。
请看看这个演示。 http://www.okadadesign.no/vitaveritas/

I needed to modify jquery superfish menu plugin to accomodate using image for the menu. Please have a look at this demo. http://www.okadadesign.no/vitaveritas/.

在Om oss和Medieomtale下有子菜单。我用这个菜单的sprite图像。

There are submenus under Om oss and Medieomtale. I used sprites images for this menu.

它适用于IE8,FF等。但是IE7有一个问题显示子菜单。它显示子菜单,但是当我尝试在子菜单中导航时,它会淡出。

It works fine with IE8, FF etc. However IE7 has a problem to show submenus. It shows the submenu but when I try to navigate in the submenu, it fades out.

任何人都可以帮助我解决这个问题吗?

Can anyone help me out to fix this problem?

提前感谢。

推荐答案

我通过添加以下内容来修复IE7和IE6的z-索引问题:position:和z-index:10000;到包含(sf-menu)并完成作业的主#nav div。

I fixed the z-index problem for IE7 and IE6 by adding: position: relative; and z-index:10000; to the main #nav div that contains the (sf-menu) and the job was done.

这篇关于Z-index问题在IE7与jquery superfish菜单插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆