Posts Tagged ‘Glazebrook proposes ways on how to create intelligent n’

Rob Glazebrook on February 20, 2008 proposed some of his ideas on how to make navigation bar self-aware or intelligent. Here is what Glazebrook has to say about his tricks:

“I’ve developed a trick over the years that I’ve used on a number of websites now for making my sites’ navigation bars “intelligent” or “self-aware.” By that, I mean that the navigation bar automatically knows which tab/button/whatever should be considered the currently active link, without having to manually specify a class or ID on either the body tag or on the links themselves. And since I’ve found it so useful, I thought I should share it with you, even though it does involve a smidgen of JavaScript.”

According to him he started with an unordered list which appears like this:

Read the rest of this entry »