I add this code to the js, as I need to know which parent have active child, so I can theme it further. Might help others too :

var activeParentIdx=megaParents.index($(megaParents).has('.active'));  megaParents.eq(activeParentIdx).addClass('active');

Btw, I'm using this with D7 (of course with some changes on the code). Thanks for the original module.

Comments

Anonymous’s picture

Any chance you might be willing to post your d7 port to #1012040: Drupal 7?