Active
Project:
OM Maximenu
Version:
7.x-1.43
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 May 2012 at 13:47 UTC
Updated:
26 May 2012 at 06:46 UTC
I have a setup with 2 large taxonomies, using menu DHTML Menu and Taxonomy Menu Trails. The menus that you see in the attached screenshots, are separate menus in Drupal. For the OM menus labeled "Produkty" and "Zastosowania", each assigned to its corresponding taxonomy. For those menus I have dedicated View blocks which limit the tree to just two levels, and groups level 2 by level 1. If the currently viewed term is buried deeper than level 2, the main menu does not receive the active trail class. I think OM should provide configuration settings to at least sniff the path patterns that would make the menu appropriately hilited.
| Comment | File | Size | Author |
|---|---|---|---|
| menu_item_active_trail_ok.png | 44.74 KB | moniuch | |
| root_menu_inactive.png | 43.1 KB | moniuch |
Comments
Comment #1
danielhonrade commentedHi,
I use this to sniff for active links:
var active_trail = $('.menu a', this).hasClass('active-trail');
if you can give me the ul li classes of active links for dhtml and taxonomy, I'll include it.
Thanks,
Daniel
Comment #2
moniuch commentedPlease refer to mail I sent you for demonstration and explanation.