Active
Project:
DHTML Menu
Version:
7.x-1.0-beta1
Component:
PHP Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Feb 2012 at 14:02 UTC
Updated:
9 Feb 2012 at 16:38 UTC
Right now, every item in the active trail has the "Active" and the "Active Trail" class. The "Active" class should be unique to just the active item, not its parents. The way it is right now makes it extremely difficult to single out just the active menu item with CSS. Any style I give to "Active" will be applied to all parents of the actual active item. That's what "Active Trail" should be used for.
For now, I'm going to have to try to use jQuery to somehow give the active item a unique class in order to finish this project in time. Wish me luck.
Comments
Comment #1
loopy1492 commentedHere's my jQuery hack work-around. Let me know if it could be more efficient.