The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I have been trying to get the shouwgroups.php collapsable per group, but have no succes with it.
Read the manual for vbulleting on collapsable elements. But cant get it figured out. Anyone any idea? |
#2
|
||||
|
||||
![]()
What have you done so far?
|
#3
|
|||
|
|||
![]() Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <thead> <tr><td class="tcat" colspan="3"> <a href="#top" style="float:$stylevar[right]" onclick="return toggle_collapse('MyELEMENT')"><img id="collapseimg_MyELEMENT" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_MyELEMENT].gif" alt="" border="0" /></a> <strong>$user[title]</strong> </td></tr> </thead> <tbody id="collapseobj_MyELEMENT" style="$vbcollapse[collapseobj_MyELEMENT]"> <tr> <td class="thead"> </td> <td class="thead" width="100%">$vbphrase[user_name]<if condition="$show['locationfield']"> / $vbphrase[location_perm]</if></td> <if condition="$show['contactinfo']"><td class="thead">$vbphrase[contact]</td></if> </tr> $usergroupbits </tbody> </table> <br /> |
#4
|
|||
|
|||
![]()
Nobody any idea's?
|
#5
|
||||
|
||||
![]()
If you have more than one collapsible group on the page, then that code will not work. Each collapsible table must have a unique id. So, change your code to create a unique id (perhaps using the usergroup id in the there).
|
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|