Well then, you can probably just get rid of it. I said it may only be a non-fatal error.
If you don't know how to make the loop for the javascript on the server side, then you can try -
Get rid of this:
Code:
<script type="text/javascript">
animatedcollapse.addDiv('expCol', 'fade=1')
animatedcollapse.ontoggle=function($, divobj, state)
}
animatedcollapse.init()
</script>
If it was in the existing loop for the posts, change it to:
Code:
<script type="text/javascript">
animatedcollapse.addDiv('expCol{vb:raw post.postid}', 'fade=1');
</script>
And at the end of the page, just before the closing </body> tag, put this:
Code:
<script type="text/javascript">
animatedcollapse.init()
</script>
Otherwise, if it was not in a loop and just in the head, instead simply replace it with:
Code:
<script type="text/javascript">
jQuery(function($){
$('div[id^=expCol]').each(function(){
animatedcollapse.addDiv(this.id, 'fade=1');
});
animatedcollapse.init();
});
</script>
In either case, change the HTML to:
Code:
<table border="1" valign="left" width="100%" bordercolor="121212" bgcolor="1b1b1b" rules="rows" frame="box">
<tr>
<td><a href="javascript:animatedcollapse.toggle('expCol{vb:raw post.postid}')"><b><span style="color:#ff6600">Experience</span></b> (click)</a>
<div id="expCol{vb:raw post.postid}" style="width: 100%; display:none">{vb:raw post.xpbr}</br></div></td>
</tr>
</table>
Note: I've also changed the th's to valid tr's. But! Even though that's now valid HTML code, it might not work out layout-wise and/or appearance (style)-wise. If not, you can try changing the <td> </td> in the above to <th> </th>.
BTW, when I said "see the page", I meant see the page, not see a picture of it. There's a good chance this will work though. But if you want more help, please post a link to a page on your site that contains the problematic code so we can check it out.
Bookmarks