Problems displaying DPM in IE7

holeyhippiegeek - April 19, 2009 - 16:35
Project:Dynamic Persistent Menu
Version:5.x-1.0
Component:Code
Category:support request
Priority:critical
Assigned:yrocq
Status:needs review
Description

I recently changed themes on my site from a zen sub-theme to a hacked up zen classic. My menu was working fine. However, now it isn't working in IE7 (big surprise). It works just as expected in Firefox. However, in IE7, only the first two links work. All the links show the submenus beneath them, but only the first two links' submenus are actual links. Here is the site www.gojacc.com

Meanwhile, I will be sitting here hating IE7 yet again.
Thanks!
Reagan

#1

holeyhippiegeek - April 30, 2009 - 15:54
Priority:normal» critical

please help! this site hinges on having a useable menu. Since it won't work for any reason I can find (even though it used to work), it makes the site unuseable.

#2

sandroz - July 21, 2009 - 14:54

Same problem here. If no Submenu present, IE7 is screwing up the css...

Possible solution: always put an empty <ul class="submenu"></ul> into the code where a toplevel item has no children. unfortunately, i can not do this by miself...

#3

yrocq - August 3, 2009 - 19:39
Assigned to:Anonymous» yrocq

Here is a patch to implement the behaviour suggested by sandroz. However, I have not enough time to test it under ie7 for now. Could you give it a ty ?

AttachmentSize
dsm_ie7_438318.patch 946 bytes

#4

yrocq - August 3, 2009 - 19:40
Status:active» needs review

#5

sandroz - August 10, 2009 - 14:56

I would, but i don't know how to add patch files... :(

#6

yrocq - August 12, 2009 - 18:30

#7

erynsidhe - October 30, 2009 - 11:43

If someone could help me style DPM in IE7 I'd appreciate it. Styling works just fine in Firefox and Safari but IE7 just ignores any classes related to DPM that I've used in my stylesheet.

#8

yrocq - October 30, 2009 - 20:16

erynsidhe: Does the menu work even if you can't syle it ? Could you post the CSS code you use ? Are you using the drupal 5 or 6 version ?

#9

erynsidhe - October 30, 2009 - 22:18

I'm using a zen subtheme on the latest version of Drupal 6.

When I first put the menu in the navigation block the submenu did not show up under the menu but to the side. I instead moved it to the header block and it works fine in FF, IE7 and Safari. It's just that I can't style it in IE7.

You can check for yourself here: http://www.vastligan.se/

My problem now is that I've tried so many things that my stylesheet is a bit of a mess and I've dug myself into a hole and can't see what I'm doing anymore.

These are styling FF but IE just ignores them:

.block-inner a {

background:#880000 none repeat scroll 0 0;
padding: 10px 5px 13px 5px;
/*margin-top: 10px;*/
text-decoration:none;
font-weight: bold;
}

.block-inner a:link {
color:#FFFFFF;
}

.block-inner a:visited {
color:#FFFFFF;
}

.block-inner a:hover {

background:#aec8f4 none repeat scroll 0 0;
color:#000000;
}

.block-inner a.active {
background-color:#000;
color:#ffffff;
}

.block-inner .dynamic-persistent-menu-menu li{
margin: -2px;}

.block-inner .dynamic-persistent-menu-sub-menu-item a{

background:#fff none repeat scroll 0 0;
color:#000;
padding: 5px 5px 5px 5px;
/*margin-top: 10px;*/
text-decoration:none;
font-weight: bold;
}

.block-inner .dynamic-persistent-menu-sub-menu-item a:link {
color:#000;
}

.block-inner .dynamic-persistent-menu-sub-menu-item a:visited {
color:#000;
}

.block-inner .dynamic-persistent-menu-sub-menu-item a:hover {
color:#880000;
}

.block-inner .dynamic-persistent-menu-sub-menu-item a.active {
color:#880000;
}

You've got the website url. Maybe you can see the glaring mistakes. I've gone blind from staring at it for too long.

Any help you can give is greatly appreciated. :)

 
 

Drupal is a registered trademark of Dries Buytaert.