![]() |
collapse / expand text link
Hello,
I would like to add some "collapse / expand text links" next to the collapse buttons on our forum's homepage. It should work the same way like it does here on the vbulletin.org index page... https://vborg.vbsupport.ru/index.php Thank you very much for your advice! |
Just modify that button and add the text. If you notice, the text is actually part of the image.
|
There's really no way to have the text change based on the block's status, so you'll either have to change the collapse/expand images and add in "Collapse" or "Expand"; or you could say Collapse/Expand I suppose in just text, if you don't want to edit the images.
Either way, this is the relevant section of code you're looking for: Code:
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a> |
All times are GMT. The time now is 03:56 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:
|