Closed (fixed)
Project:
Superfish Dropdown Menu
Version:
7.x-1.9-beta4
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
17 Dec 2011 at 13:22 UTC
Updated:
12 Mar 2012 at 20:57 UTC
Jump to comment: Most recent
Comments
Comment #1
knarzer77 commentedok, update:
I debugged a little bit with firebug. It looks like, that the active submenu doesn't get the "active-trail" class (it get only the "sf-depth-2 active" class).
I found, that the fusion theme had a simular problem. http://dtecht.blogspot.com/2011/01/superfish-menu-drupal-fusion-why-devi....
Comment #2
darksnowI'm seeing this same problem.
Checking in Firebug on my setup, I'm also not seeing the active-trail being set.
One thing to add though. I have a menu entry added using taxonomy menu, which gives me the taxonomy terms as menu entries. This menu entry works perfectly and it also doesn't show the active-trail anywhere.
I've got:
Home
About
Contact
Articles
Type 1
Type 2
Forums
Forum 1
Forum 2
Blog
Articles is a taxonomy vocabulary. All the others have been added to the menu by me manually, expect "Contact".
If I click on any of the existing forums, then the Forums second level menu appears, similarly, with About and the Article Types. So far so good. But, if I click on "Forums" I'd expect the next level menu to show, but it doesn't. It's the same with Home. Interestingly, Contact doesn't work like all the other second level entries and clicking on either Home of Forums doesn't force their respective second level menus open.
So, looks to me like the advertised "Path Levels" option for the Navbar style simply doesn't work. Odd that it does for taxonomy menus though, they look no different in Firebug.
Comment #3
Jeff Burnz commentedGonna push this over to Superfish and see what Mehrpadin says about this, not a theme issue really, sounds like some issues with how the active classes are being applied, quite often this is not the module or theme but simply how you are building the menus and how the active trail is triggered.
Comment #4
darksnowhttp://drupal.org/node/942782
I think this might have just been fixed for the next stable release of D7. I've applied the patch to my code and it solved the issue.
So, not a Superfish issue, but a core menu issue.
Comment #5
mehrpadin commented:)
Comment #7
IdanC commenteddarksnow, which patch did you use?
i've been trying to get a navbar superfish menu to work on fusion for a WHOLE DAY now, but can't seem to make it work.
anyone has any idea?
Comment #8
IdanC commentedhere is an example of the problem - http://new.hallo.co.il/
notice that once you hover one of the menu items, the current submenu disappears.
unlike the example reffered to in the opening post.
Comment #9
darksnowActually, my fix isn't working either. I wrote custom code to keep the first menu option open if none of the other menus are in the active trail, but while I thought it worked, since I've added more options to the menu, it no longer does.
I plan to investigate this further as soon as I have the time, but my current theory is to ignore the active trail code and try and specifically affect superfish. If I come up with anything relevant, I'll let you know.
Comment #10
IdanC commentedwell, i'm happy to inform you that the very talented sheena solved it -
#1479170: Incorrect syntax for inline jQuery usage
Comment #11
ataxia commentedI'm using the Fusion theme (Fusion-starter) and couldn't get the submenu to stay open. After much tribulation, I finally found this in fusion-style.css:
adding this to local.css fixed the problem: