Hi
I would like to be able to assign a "current" class to the currently active <ul> so that I would be able to target all sibling <li>’s to the currently active one. I really can’t figure out how to do this with only css, and I don’t want to use js.
What I mean is that the <ul> that contains the <li> with the &selfClass gets a ¤tUlClass. I guess it would work if the sibling <li>’s got a similar class instead, but I think the <ul> class would be better.
If anyone’s got another way to solve my problem I would appreciate a push in the right direction.
But the active class applies to parents and grandparents and so on all the way to the top. I want something that works exactly as the &selfClass but for <ul>’s. It should apply only to the <ul> that contains the currently active <li> and nothing else.