The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Expand/Collapse button not working for rows
I have put expand/collapse code for table by following direction from vbulletin manual.
Code is working for only first row title link. when I click on second row link same first row is collapsing and expanding. Can anybody please help me on how to write code for expand/collapse for each individual row. I also want first row to be expanded by default and all other rows user can click on it to expand/collapse. Here is my code i wrote working for only first row. ----------------------------------------------------------------------------------------- <tr><td class="thead"> <a href="#top" style="float:$stylevar[right]" onclick="return toggle_collapse('categ')"><img id="collapseimg_categ" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_categ].gif" alt="" border="0" /></a> <a href="$cat[caturl]">$cat[title]</a></td></tr> <tbody id="collapseobj_categ" style="$vbcollapse[collapseobj_categ]"> <tr><td>$cat[description]</td></tr> </tbody> ------------------------------------------------------------------------------------------ Please help me where am i missing to expand/collapse properly. I wasted 2 days already figuring out. If anybody can help me, I will really appreciate. Thanks in advance |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|