Needs review
Project:
Megamenu
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
10 Dec 2010 at 18:01 UTC
Updated:
31 Jan 2011 at 02:52 UTC
Jump to comment: Most recent
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) commentedAny chance you might be willing to post your d7 port to #1012040: Drupal 7?