
10-16-2009, 10:15 PM
|
|
|
Join Date: May 2004
Location: Nova Scotia, Canada
Posts: 238
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by cbiweb
...would like to have a default tab selected when the page loads. I see instructions for v1.01, is there way to do the same thing in 1.5.0?
|
Quote:
Originally Posted by bobster65
ya, use the "selected" calls on the specific li tag
|
Quote:
Originally Posted by cbiweb
...doesn't seem to be working... I've made sure that only the tab I want selected has the call. Here's the code from my template:
Code:
<div id="ajaxTFH" class="TFHmenu2">
<ul>
<li><a href="/tabforumhome.php?tabcat[]=12" rel="ajaxTFHcontentarea">THE LOBBY</a></li>
<li class="selected"><a href="/tabforumhome.php?tabcat[]=60" rel="ajaxTFHcontentarea">TECH SUPPORT</a></li>
<li><a href="/tabforumhome.php?tabcat[]=117&tabcat[]=33&tabcat[]=93&tabcat[]=56" rel="ajaxTFHcontentarea">TECH TALK</a></li>
<li><a href="/tabforumhome.php?tabcat[]=4&tabcat[]=146" rel="ajaxTFHcontentarea">GENERAL DISCUSSION</a></li>
<li><a href="/tabforumhome.php?tabcat[]=7&tabcat[]=8&tabcat[]=10" rel="ajaxTFHcontentarea">STAFF</a></li>
</ul>
</div>
I want the Tech Support tab to be default on page load, but it's not, it just stays on whatever tab was last used. 
|
Quote:
Originally Posted by bobster65
That looks correct .. did you try and flip flop the 2 li lines (lobby and Tech support) so that the selected is the first tab (just to make sure that is working)
|
Quote:
Originally Posted by cbiweb
Just tried flip flopping the tabs, and they changed places as expected, but the "selected" didn't do its thing.
|
Quote:
Originally Posted by bobster65
That's weird... I'll have to dig into it and see if I can replicate the problem and then recommend a solution..
|
Did you find anything on this? It still does not work for me.
|