Posted by jeffrey.dalton on June 4, 2007 at 4:51pm
| Project: | Administration menu |
| Version: | 5.x-1.x-dev |
| Component: | CSS / Browser Support |
| Category: | bug report |
| Priority: | normal |
| Assigned: | sun |
| Status: | closed (fixed) |
Issue Summary
I have tried both the 5.x-1.x-dev and the 4.7.x-1.3 and they both work perfectly in Firefox.
In IE7 however they just load the top level menu items with no drop downs. All javascript in the browser is working fine so I am a bit stumped.. searched pretty heavy on the forums and couldn't find anything relevant. Any help would be appreciated.. this is an awesome module.
Comments
#1
I'm not able to reproduce this behaviour in IE7. Have you ensured that all CSS and JavaScript files are loaded?
#2
I had the same issue. The JS was not being loaded to make IE support hover. In admin_menu.module change this:
<!--[if lt IE 7]>To this:
<!--[if IE]>#3
Jeffrey, can you confirm this is working?
#4
#2 worked for me as well - with one remaining problem :
dropdown menus now appear alright, but only disappear when another menu gets hovered - once I open a menu, there's no way I can get back to the regular 'all menus folded' state.
#5
In my case the hover thing is not the issue, it shouldn't be, IE7 supports it fine.
I have 2 sites, same version drupal (5.2) and admin menu (5.1 dev) on same server settup.
In FF2 all 2 are fine.
1 works (http://newsite.windmill-innovations.nl/), 1 not (http://www.botteruitje.nl/). The one not working is far more simple in terms of one language en far lesser modules.
The one not working is a (float/div heavier) table-less design. The working one is a fixed-table layout design. Has it someting to do with the absolute/relative positioning of block-level HTML elements?? Makes no much sense to me...
#6
Update:
I'm beaten... it IS a hover thing. I just cannot figure it. Why site 1 is working fine, without the IE fix javascript on IE7, and site 2 requires the fix?? I switched themes, profiles, altered CSS, in site 2 IE7 does simply not pickup the hover status on a listitem in the admin menu without javascript fix.
Regardless: the fix works for me in this case.
#7
This worked nicely for me as well. It would have been nice if this was in the release, since the latest release came out AFTER this patch was suggested. Oh well.
Cheers
#8
This needs to be added to admin_menu.css to fix the IE7 sticking suckerfish bug.
#admin_menu li:hover, #admin_menu li.sfhover {position:static;
}
#9
After thoroughly reading all follow-ups again, I get the feeling that this issue has nothing to do with the current implementation. It looks like the stylesheet is overriden by some other, theme-specific rules, which probably use deep selectors or additional JavaScript to ensure that IE overrides any other styles.
I'd like to get this fixed. Everyone who is interested to solve this bug may leave me a message along with (temporary) login information to a site suffering from this bug.
#10
Anyone?
If not, I'm unable to reproduce and obliged to close this issue.
#11
@keesje76: Thanks for providing login information to your site with admin menu. However, I logged in with IE 7 and admin menu appeared and worked like it should. I've seen that you changed
<!--[if lt IE 7]>to<!--[if IE 7]>, which does not support IE 6. If you change it to<!--[if IE]>, admin menu will also work with IE 6.Anyhow, may you temporarily set this back to the original
<!--[if lt IE 7]>, so I am able to troubleshoot this issue?#12
Everyone having issues with margins, collapsing styles and IE in conjunction with admin menu should try the patch supplied in http://drupal.org/node/156952 and respond if that patch fixed the issues.
#13
This should be fixed now. Please download the new release for Drupal 5 and re-open this issue, if this bug is not yet fixed.
#14
Thanks Sun, new release works for me in the site you visited.
Kees
#15