|
You don't need to use the entire script and the code. It's just the principles you need.
as you switch tabs you change the classname of the the clicked tab to whatever your active class all the other tabs get set to the default.
For the tabs that open a new URI you simply call the same routine when the page opens to set the appropriate tab.
at the end of the script block you'll see "show('one');" this is "tells" the page which is the "active" tab.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
|