The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
![]()
no you just need some code in a template...
Here is one I use, it opens and closes when you click the arrow icon.. Replace all occurances of VARIABLE with whatever variable you choose to name it. I dont know PHP all too well, so I dont know how you would work this into PHP but im sure you could figure something out. you can see basically there is a a collapsable table, and the tbody which contains the information to be collapsed. the rest is just a simple table template basically.... using another "bits" template for the content. Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%"> <thead> <tr> <td class="tcat" colspan="5" align="left" width="100%"> <a style="float:$stylevar[left]" href="#top" onclick="return toggle_collapse('VARIABLE')">Main Header</a> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('VARIABLE')"><img id="collapseimg_VARIABLE" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_VARIABLE].gif" alt="" border="0" /></a> </td> </tr> </thead> <tbody id="collapseobj_VARIABLE" style="$vbcollapse[collapseobj_VARIABLE]"> <td class="thead" width="2%" align="left"></td> <td class="thead" width="11%" align="left"><b>Title 1</b></td> <td class="thead" width="49%" align="left"><b>Title 2</b></td> <td class="thead" width="18%" align="left"><b>Title 3</b></td> <td class="thead" width="26%" align="left"><b>Title 4</b></td> $tablebits </tbody> </table> <div class="spacer"></div> <br /> ![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|