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.

Comments

danielhonrade’s picture

Hi,

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

moniuch’s picture

Please refer to mail I sent you for demonstration and explanation.