Needs review
Project:
Active menus
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
4 Oct 2008 at 13:30 UTC
Updated:
9 Apr 2010 at 07:20 UTC
Jump to comment: Most recent file
Hello, I'm using Zen theme and I'm having a lot of problems with Activemenu in those browsers, I cannot click the bullets in Opera and IE, in Chrome it shows an Error when I try to expand and it stays collapsed. Any ideas? Thanks
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | activemenu-317037-9.patch | 744 bytes | kmonty |
Comments
Comment #1
nedjoDoesn't work with all themes. Evidently not with Zen. Would need a patch on either Zen or activemenus.
Comment #2
bRight2 commentedSame here, the recent update broke my templates
Comment #3
johnmullin2003 commentedthe recent update doesn't work anymore in my Firefox, Chrome, Flock, Safari, Opera and IE7. all tested in Windows xp os and all updated to last avaible version.
Hope in a new release (the old one!!!) :-)
Comment #4
kmontyI'm having the same problem. I'm going to do my best to solve this issue over the next two weeks (time permitting).
Comment #5
kmontyComment #6
kmontyI just installed a fresh copy of Zen and ActiveMenus worked fine. Clearly it was something I did to my subtheme specifically. If I figure out what I did, I'll report back so people can attempt to fix their own themes.
Since this isn't a general Zen issue, I'm reducing the Priority since it does not effect all Zen users (maybe even a slim minority).
If anyone can share code regarding any modifications to the activemenus xhtml/css, please post it here.
Comment #7
kmontyThis was my problem for those of you who are interested.
I had set this css:
Turns out activemenus requires the list-style-position to be set to "outside." This also means I have to have my padding-left property set to at least 1em. This isn't noted in the documentation, so maybe that would be a good addition. I'm going to see if I can patch the jQuery to allow for more flexible css rules.
Comment #8
kmontyComment #9
kmontyThe problem with setting list-style-position to inside was found starting at line 25 of activemenu.js. Basically, activemenu originally checked to see if the user had clicked in the padding between the UL and LI. When you set list-style-position to inside and the UL's padding-left to 0, it becomes impossible to activate the click action (as there is no space to click, as the +/- icon is inside the LI).
The original code:
My solution was to instead check to see if the user clicked in the space between the UL and the first A. Maybe someone knows a better way to tackle this, however it works fine with both the Garland and Zen theme:
Comment #10
nedjoThis sounds like a good idea.
I'd appreciate some testing results. What themes tested? What browsers? What outcome?
Comment #11
nedjoWould still like some review of this.
Comment #12
pedrochristopher commentedHard to make a module that works for everybody because everybody has a different tree. Here is what I am using right now; works in FF with my tree. Still can't get things to work on other browsers and I don't understand why not.