![]() |
Change collapse/expand buttons to text
Hi,
although the title speaks for itself, I'll just elaborate my "problem" here. Back in the vB2 days, I could replace the button which was supposed to expand or collapse a category with text such as 'Collapse' and 'Expand'. However, I'm using the newest vB3.5.3 version and I can't seem to make it work with text. Does anyone here know how to replace the buttons with text and make it work at the same time? :p Thanks in advance, - Cle. |
So there's no solution for this one? :(
|
*bump*
|
Still waiting.. :(
|
Ditto
|
couldnt you just change the graphic and put text in it o.O
|
You could, but it wouldn't change to reflect the category's status of either being collapsed or expanded. I'm trying to figure this out too, though.
|
This will not make the text change when it is collapsed or expanded. I'm still working on that. For now, you could just use something like Collapse/Expand. ;)
Alright, in the style you want it to appear in, you'll need to do a couple simple searches. There is no real simple way of doing this, but I'd imagine a hack would be pretty easy to create. Anyways, go to Styles & Templates -> Search in Templates, and search for: Code:
$stylevar[imgdir_button]/collapse_thead$vbcollapse Code:
<img id="collapseimg_forumhome_stats" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_stats].gif" alt="" border="0" /> Now, the next section of editing is no tougher, but it will require substantially more time. Like before, go to Styles & Templates -> Search in Templates, but this time search for: Code:
$stylevar[imgdir_button]/collapse_tcat$vbcollapse Code:
<img id="collapseimg_editannc_options" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_editannc_options].gif" alt="" border="0" /> Hope this helps. :D |
Yeah that's basically what I did, just said Show/Hide.
|
All times are GMT. The time now is 02:11 AM. |
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:
|