Closed (fixed)
Project:
Lucid menu
Version:
6.x-1.0
Component:
Documentation
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
5 Oct 2008 at 13:29 UTC
Updated:
22 Mar 2011 at 11:19 UTC
Hi,
As above and this problem only appears in IE7, IE6 not tested. Not sure lies with Lucid or superfish.
Pls help...thanks
Comments
Comment #1
Ashraf Amayreh commentedI need the URL for the affected site.
Comment #2
dropchew commentedHi mistknight,
here's the link http://www.jucaa.com/. thanks.
Comment #3
Ashraf Amayreh commentedSeems to be a stylesheet issue, try adding a z-index higher than all other values
.sf-menu {
z-index:9999;
}
If this doesn't work on its own, try adding the following styles
.sf-menu li ul {
z-index:9999;
}
.sf-menu li ul li ul {
z-index:9999;
}
And if that doesn't work out then also try adding
.sf-menu li ul li {
z-index:9999;
}
.sf-menu li ul li ul li {
z-index:9999;
}
Try out the above and let me know if any of them worked for you, and if so, which ones did...
Comment #4
dropchew commentedNope, it doesn't changes anything Think I will stick to nice menu for now. Thanks.
Comment #5
acdtrp commentedI have the same problem and I'm working on it. I will keep this topic posted if I have any success.
Comment #6
Ashraf Amayreh commentedCould you provide me the URL?
Comment #7
geraldme commentedI have the same problem when working with Nice Menu. Drop down menu appears hidden behind in IE7, no such problem in FF. Initially, I was not sure if it was due to overflow (hidden) or z-index problem. (BTW, CSS menu said that z-index only work with position attribute!)
My original layout.css was
#header
{
}
#main
{
position: relative;
}
#header, #main
{
overflow: visible;
}
Remove the "position: relative;" in #main solve the problem. Don't know if this will help you.
Comment #8
Rich Costello commentedI had the same problem with IE7, was driving me batty. Removed the "position: relative;" from the #content and it worked perfectly. Thanks geraldme for posting this. You saved me a lot of headaches.
Comment #9
embirr commentedI had the same problem, but couldn't remove the "position: relative;" (on my #header div) because it was there for a reason. Instead I added "z-index:1;" to to my #header div, which solved the problem.
Comment #10
embirr commentedMore info on this here:
http://richa.avasthi.name/blogs/tepumpkin/2008/01/11/ie7-lessons-learned/
Comment #11
betancourt commentedI had the same problem. I read many articles and for my case the problem was that my menu was wrapped by a div which had a position relative (I found that later by looking at the other CSS of my theme). I just assigned a higher z-value for the wrapping div, and problem solved.
Comment #12
NaX commentedI just ran into the same problem (well I think it is the same problem) but playing with z-index had no affect in IE6. I have 2 superfish menus, one horizontal and one vertical and the one always went behind the other in IE.
After wasting many hours I found a JQuery solution.
I put this at the top of my theme. I suggest adding some docs to the readme about this and other possible fixes.
Also found the culprit causing the problems. If you remove the bellow
position: relative;from superfish.css the menu does not work correctly but IE6 stops overlapping. The menu will not work at all without thisposition: relative;so I don’t suggest removing it.Hope that helps.
REF:
Nice explanation of the problem
- http://aplus.rs/css/ie-phone-book/
Describes solution mentioned in #11
- http://jonathanstegall.com/2009/01/15/ie-z-index-bug-with-css-dropdown-m...
Describes the problem with IE and superfish and gives a solution, same as #11
- http://webdemar.com/webdesign/superfish-jquery-menu-ie-z-index-bug/
JQuery fix
- http://css-tricks.com/snippets/jquery/fixing-ie-z-index/
Same JQuery fix, comments reference superfish
- http://www.vancelucas.com/blog/fixing-ie7-z-index-issues-with-jquery/
Comment #13
Ashraf Amayreh commentedPlease take care of this as well.
Comment #14
Ashraf Amayreh commentedFixed in 1.1 release.
Comment #15
giozzz commentedI have the same issue using superfish menu, on a drupal 6 installation. does these solutions work for that module too?? and if so, which one? where do I have to put that code described in #12?
hope someone helps me!! thanks
Comment #16
muddie commentedHad the same problem and the javascript solution in #12 worked perfectly.
In answer to #15's question I put in the head of my page.tpl.php
Cheers and thanks for the help.
Comment #17
giozzz commentedThanks muddie! I've tried adding the code of #12 into my theme page, and first it worked.. then, after 2 weeks, it stopped working..... I know it sounds strange but that's it!! so I've searched again and found another fix (in this issue queue,
http://drupal.org/node/717862):adding
to superfish.css, and now it seems to work...
I hope the problem won't appear again.. waiting for an ultimate IE upgrading...
Comment #18
vivekanandabb commentedie, sigh always has problems, anyways after searching for a very long time and researching, i found out the solution
here s hw it works:
.nice-menu, .nice-menu li, .nice-menu li ul, .nice-menu li ul li, #preface, #header-wrapper,#header, #body
{
z-index:9999;
}
z-index should be increased for the root ie body till the nice menu ul li element, hope this helps someone