![]() |
What am I doing wrong with this collapse code?
I'm trying to make it so certain users have the option of collapsing the stickies, since sometimes we have a lot.
So I added an icon at the top of the thread header bar, with this code: Code:
<td class="thead" align="center"><a href="#top" onClick="return toggle_collapse('stickythreads')"><img id="collapseimg_stickythreads" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_stickythreads].gif" alt="Toggle stickies" border="0" /></a></td> Code:
<tbody id="collapseobj_stickythreads" style="collapseobj_stickythreads"> From what I can tell I'm just mimicking the collapse code used by "Active Users" and the like on forumhome.php. So what am I missing that it's not keeping the collapse? |
Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" width="100%"> (Note: The differences between the "style" attribute of your "tbody" and the one in that peice of code) |
All times are GMT. The time now is 04:25 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|