Quote:
Originally Posted by zappsan
This is so awesome, just what I need.
Now I've got a question. What I want to do is to make the tab which is open first dependent from a certain value. How do I change which tab is open on the first visit though?
I tried removing the class="selected" from the 1st tab and added it to the 2nd one, but it didn't seem to work.
What am I doing wrong?
|
Yes, that is how you do it. It uses persistance tho (which can be shut off .. its on by default).. Persistence brings you backc to the same place as you left... ie, if you clicked on tab 3, then viewed a thread and went back to forum home, Tab 3 would be active (if persistence is on).. if you shut persistence off, it would always default to the "selected" tab.
Change Selected to tab 2 like you did, then log out and log back in.. it should launch this time with Tab 2 open.