Hmmm.. I tried just wrapping the variables in <tr> and <td> tags and adding the id parameter to those.. still didn't work.
What am I doing wrong?
Code:
<tr>
<td class="thead" align="center" colspan="3"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('USERCP_BUDDYLIST_ONLINE')"><img id="collapseimg_USERCP_BUDDYLIST_ONLINE" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_forumhome_recentposts].gif" alt="" border="0" /></a>
<span class="smallfont">-- <strong>$vbphrase[online]</strong>--</span>
</td>
</tr>
<tr id="USERCP_BUDDYLIST_ONLINE">
<td>
$onlineusers
</td>
</tr>
<tr>
<td class="thead" align="center" colspan="3"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('USERCP_BUDDYLIST_OFFLINE')"><img id="collapseimg_USERCP_BUDDYLIST_OFFLINE" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_forumhome_recentposts].gif" alt="" border="0" /></a>
<span class="smallfont">-- <strong>$vbphrase[offline]</strong> --</span>
</td>
</tr>
<tr id="USERCP_BUDDYLIST_OFFLINE">
<td>
$offlineusers
</td>
</tr>