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?
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?