![]() |
Collapsing an element in vBulletin, but displaying element in collapsed state first
By default, a collapsible element shows up in the uncollapsed / open state first, and then the collapse button needs to be clicked before it is collapsed. However I need this to be reversed such that the block is already collapsed when the page is first viewed, but can be opened by clicking on the collapse control / button.
How can I do this? |
hook : global_start
Code:
$vbcollapse['collapseimg_[OBJECT_NAME]'] = '_collapsed'; |
thanks, I'll give that a try :)
|
Please be aware that users that have JS turned off, will never be able to expand. (which is also the reason default vB will never collapse by default)
|
All times are GMT. The time now is 01:39 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:
|