Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Z-index problem in IE7 with jQuery Superfish menu plugin

I needed to modify jQuery Superfish menu plugin to accommodate using image for the menu.

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

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.

Editor's note

A link in this question to www.okadadesign.no to demonstrate the issue was removed, as it is no longer accessible.

like image 993
shin Avatar asked Jul 01 '09 15:07

shin


1 Answers

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.

like image 65
Sylar Avatar answered Oct 04 '22 21:10

Sylar