Hello, the menu is working great on Chrome and Firefox and to a certain extent on IE. However, i've used a 'Page' module on the homepage to split between authenticated homepage and unauthenticated homepage and where text overlaps i get very strange behaviours. To me it looks like something to do with the z-index of the various parts of the menu but i'm not an expert. When looking at the menu on standard nodes the menu works fine.

CommentFileSizeAuthor
simplemenu-working.jpg61.83 KBaf199
simplemenu-broken.jpg57.42 KBaf199

Comments

AlexisWilke’s picture

Yes. That looks like a z-index problem. There are two such entries in the CSS file. Would you please try to edit the second instance and instead of 99, put 9999:

#simplemenu li {
  float: left;
  position: relative;
  z-index: 99;
}

Then let me know whether that fixes the problem.

Thank you.
Alexis Wilke

AlexisWilke’s picture

Status: Active » Postponed (maintainer needs more info)

Forgot to change the status, change it back to Active please. 8-)

af199’s picture

Status: Postponed (maintainer needs more info) » Active

Sorry for the delay on the reply - unfortunately that didn't seem to make any difference. Status changed back to active as requested! :)

AlexisWilke’s picture

Status: Active » Postponed (maintainer needs more info)

af199,

Could you tell me exactly which module you're using? (URL?)

Thank you.
Alexis Wilke

af199’s picture

My pages are admin'd through '/admin/build/pages' which i think is part of the Chaos tools suite ( http://drupal.org/project/ctools ).

AlexisWilke’s picture

Status: Postponed (maintainer needs more info) » Active
Issue tags: +conflict, +z-index

af199,

I just noticed that the previous author repeated the z-index definition in the themes. So you need to delete those!

If you'd edit the simplemenu/themes/*/*.css files, and delete the z-index definition. Then make sure that the simplemenu/simplemenu.css uses a very large z-index. That should work!

I tried with AddThis and could not figure out why it wouldn't work until I checked out the themes! 8-}

Thank you.
Alexis

P.S. Also, there are TWO entries in the simplemenu.css file.

af199’s picture

I've grepped the source code after editing and i have the following instances of z-index...

z-index:9999;
z-index:9999;
./simplemenu.css
/* z-index:9999; */
./themes/blackblue/blackblue.css
/* z-index:9999; */
./themes/original/original.css

( note last two are commented ).

Assuming i've understood people's suggestions correctly ( and thank you for those ), then unfortunately i'm still not able to get this working. The menu still appears as shown in my original image and consequently the last two items in the menu are not possible to click on.

Thanks.

AlexisWilke’s picture

It worked for me... I removed the first one and kept the second one set to 9999. Removing the first one should be just fine since the bar itself does not need a z-index, except maybe on Internet Explorer 6.x and older...

I'll soon check in my next version with which you can change those z-index and make sure your browser picks up the changes (because you may have the .css in your cache, especially if you are using the CSS aggregator.)

Thank you.
Alexis

AlexisWilke’s picture

Assigned: Unassigned » AlexisWilke
Status: Active » Postponed (maintainer needs more info)

The -dev version now includes an admin screen that let you change the z-index value within the interface.

There are two boxes. The first one changes the menubar itself (and thus all the menu items).

The second box only changes the dropdown windows.

Try with something like -1 and 9999. Then with 9999 and -1. Then play with the value 9999 (i.e. smaller/bigger.)

Also, you may want to check with superfish 1.4.8 instead of the old version 1.4.1.

Let me know whether that helps.

Thank you.
Alexis

AlexisWilke’s picture

Version: 6.x-2.x-dev » 6.x-1.x-dev
Status: Postponed (maintainer needs more info) » Fixed

As far as I know this is fixed in version 1.9. If you still have a problem, don't hesitate to re-open this issue.

Thank you.
Alexis

Status: Fixed » Closed (fixed)
Issue tags: -conflict, -z-index

Automatically closed -- issue fixed for 2 weeks with no activity.