The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi there,
I'm looking for a script that would allow me to create an empty collapsing table and add it to my forum. All I need is just the empty table with nothing indside. I want to be able to add my own stuff there and give users the option to either collapse the table or leave it like it is. Is it even possible to do? |
#2
|
||||
|
||||
![]()
Its possible. This is what I use on my forumhome template to get the desired effect you are seeking:
HTML Code:
<!-- Start Empty Shell --> <table width="100%" cellpadding="0" cellspacing="0" border="0" class="tborder"> <tbody> <tr> <td class="thead"><a style="float:$stylevar[right]; text-decoration:none" href="#top" onclick="return toggle_collapse('forumhome_empty')"><img id="collapseimg_forumhome_empty" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_empty].gif" border="0" alt="" /></a>Your Title</td> </tr> </tbody> <tbody id="collapseobj_forumhome_empty" style="$vbcollapse[collapseobj_forumhome_empty]"> <tr> <td class="alt2" nowrap>Your Content</td></tr> </tbody> </table> <!-- End Empty Shell --> |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|