Using THIS Post from Jake Bunce, I am trying to use this code to put into the postbit_legacy on vb 3.5.2
The code stated :
Since it is a postbit we supposed to use my_table_$post[postid] I tried to swap my_table with my_table_$post[postid] but I cannot even save the template since it gives me a lot of errors .. Could someone please help me there ?
So what happens basicially in postbit when clicking the image to collapse, it collapses the first postbit only
and not the actuall table I am trying to collapse ..
The code stated :
Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <thead> <tr> <td class="tcat"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('my_table')"><img id="collapseimg_my_table" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_my_table].gif" alt="" border="0" /></a> TABLE TITLE </td> </tr> </thead> <tbody id="collapseobj_my_table" style="$vbcollapse[collapseobj_my_table]"> <tr> <td class="alt1"> STUFF THAT IS HIDDEN WHEN THE TABLE IS COLLAPSED </td> </tr> </tbody> </table>
So what happens basicially in postbit when clicking the image to collapse, it collapses the first postbit only

Comment