The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
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! |
#2
|
||||
|
||||
Just modify that button and add the text. If you notice, the text is actually part of the image.
|
#3
|
||||
|
||||
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> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|