Selecting different CSS ID's.. JavaScript?

Associate
Joined
30 Nov 2003
Posts
1,614
Basically I've created a tabbed navigation bar using XHTML and CSS. When the page is on the tab selected I want to use a different CSS ID for the tab so it can have another state.

What's the best way to do this? I've done it with CSS alone before but that way was a little long winded. I believe some JavaScript can do it by looking at the URL and matching it to the tab name?
 
Back
Top Bottom