The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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"> $threadbits_sticky </tbody> 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? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|