Quote:
Originally Posted by bobster65
No, you wouldn't install the whole thing, just use the content files ie, recentthreadsexp2.php for example and point a tab to it. You would do this manually in the template (for now). King K and I are working on something right now that we may talk Bree into using here which will allow specific additional content modules to be added to this as well..
Here is how to add an additional Tab for an external content file (s)
EDIT the smnlikquick TEMPLATE
I manually inserted an LI tag (IN RED) which will create an addition Tab .. all you need to do is create a content file, upload it, change the name of it in the line below, name your tab and yer golden. Works well with all the content files I have made for AJAX Tabs .. you just need to remark out the calls to any CMPS files that are not being used..
Code:
<table class="tborder" cellpadding="0" cellspacing="0" width="100%" align="center" border="0">
<tr>
<td class="alt1">
<div id="tabs" class="indentmenu">
<ul>
$slq_bit
<li><a href="tabcontentfile.php" rel="tabcontainer">TAB NAME</a></li>
</ul>
<br style="clear: left" />
</div>
<div id="divcontainer" style="border:0px; width:97%; padding: 6px; margin-bottom:1em">
</div>
<script type="text/javascript">
var mytabs=new ddajaxtabs("tabs", "divcontainer")
mytabs.setpersist(false)
mytabs.setselectedClassTarget("link")
mytabs.init(5000)
</script>
</td>
</tr>
</table>
<br />
|
Thanks for this, got it all working now and it helped me adding my radio stations in there too, really appreciate it thank you
And a couple more questions lol,
i want to have the tabs colored before they get selected and to change the red gradient when they are selected, this might of been mentioned before somewhere but I can't see it for the life of me.
and last question, with the recentthreads php file, i want to take some info out so i only have one line...
ie i want to take out topic starter (2nd Line) date when topic made (3rd line) and next column take out the last posters name. so i just have 1 line of info across the whole table.
also can i change this so its latest thread created and not last thread posted in ?
Thanks for all ur help on this..