![]() |
|
Mod Options |
![]() |
|||||||||||||||||||
Making something collapsible inside templates, using collapsible block
![]() Developer Last Online: Jul 2020 ![]() ![]() ![]()
Well, sometimes we want to make something collapsible, so users can see it, or not, depending on their wishes.
To make some HTML code collapsible in vB4, you need to use this code:
In upper example I used CODE BBtag so I can use color BBcode, so you can see in red what are variables you can (and have to) change to suit your needs. The two unique names in green must be the same that collapsing work. This is most universal example, you can also have ordered list, than you have something like this:
For example, you can use for code there: {vb:raw infractionbits} or {vb:raw reputationcommentbits} or something similar. One example you can find here: http://www.vbulletin.org/forum/showthread.php?t=278884 Here I made collapsible block of usernotes in user profile. Download Now Only licensed members can download files, Click Here for more information. Show Your Support
No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 11:32.