Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedAny chance you might be willing to post your d7 port to #1012040: Drupal 7?