How do I add the collapse buttons to my own table in a custom page?Does it have to use a tbody and can I just pass my own id to the js function?
Code:
<td class="tcat" colspan="$subscribedthreadscolspan">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('usercp_subthreads')"><img id="collapseimg_usercp_subthreads" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_usercp_subthreads].gif" alt="" border="0" /></a></td>
<tbody id="collapseobj_usercp_subthreads" style="$vbcollapse[collapseobj_usercp_subthreads]">
...