![]() |
Thanksssss!
exactly what i needed. I have a little problem here. It seems doesn't work for me. I edited the index_tab.php PHP Code:
HTML Code:
Edited: I fixed it. Thanks for a cool hack. |
My tab 1 is working, but tab 2 and tab 3 just display white under neath the tabs, no forums show up at all.
I used your code first, then modified it to my categories and names, but still just white. Any idea what I may be missing? |
Quote:
|
Quote:
To answer your first question, the instance is the var name in this chunk of script that you added in Step 16: (Bold Red) Code:
<!-- Tabbed Forums switch tab script --> So to further expand on this function: instance.expandit(tabid_or_position) This method lets you dynamically select any tab based on either its ID attribute (you need to first assign one to that tab), or position relative to its peer tab links. The method can be called anywhere on the page, such as inside a link on the page. Parameter: tabid or position: Either a string representing the tab link's ID, or an integer corresponding to that tab's position relative to its peers, to select. For the later, the counting starts at 0 (ie: 0=Tab 1, 1=Tab 2, 2=Tab 3 and so on). So to answer your question, 0=the first tab. tcontent1=the content of the tab itself, not the ID of the tab. Example: Based on the following sample tabs layout, I added a tab ID to Tab 2. You don't need to do this as you can also just call the position as well. Code:
<ul id="forumtabs" class="shadetabs"> Here are some examples of how the links can be used: This one uses the position parameter: Code:
<!--Selects 4TH tab within instance "myforumtabs" --> this one uses the tabid parameter: Code:
<!--Selects tab with ID="roses" within instance "myforumtabs" --> Hope that helped out and answered your questions.. Bobster |
Oh my God! I was looking for this mod as I've seen it on vBSEO and it's finally here. Thanks a lot for the release! :D
Any plans on porting this over to 3.7.x as well? |
Quote:
|
i'm fixed i'm not much into editing could you have a look and help me : www.indianprofits.com
|
Yo! :)
Is there any way to make the forum remember the collapse position? Doesnt work now... |
Quote:
|
Quote:
|
All times are GMT. The time now is 06:14 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|