PDA

View Full Version : Collapse / Expand


familyhistory
09-29-2007, 01:21 PM
Hi All,

Hope some one can help.

I have added the words collapse/expand to the templates - forumhome_forumbit_level1_nopost as follows:

<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')">Expand/Collapse<img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="Expand/Collapse" border="0" /></a>On seeing this forum at vbulletin.org (here), I would much rather have this elegant way, where the collapse shows when it is expanded, or shows Expand when it is collapsed, in a nice smaller font!

Any help appreciated, :)
Thanks,
Dave

Dismounted
09-30-2007, 05:28 AM
Just edit the image for the collapse/expand buttons and add the text onto the button. It's how it's done here.