What I'm really driving at is isolating the structure and function of the generic parent when viewing any child.
For instance, I like to disable links when they take the visitor to the same url. Using the template, I set a conditional statement to swap out the A tag for a P tag. This works perfectly on the first level. However, the parent remains "IsActive" and thus disabled in my case even though the visitor views a child page. They loose the ability to return to the parent via the menu then.
Your idea of IsSelected could work. It would be page(tab) specific, versus the whole menu branch. |