The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Is there a collapse conditional?
I have tried this code: Code:
<if condition="$vbcollapse[collapseobj_MyELEMENT]"> <td width="0px"></td> <else /> <td width="5px"></td> </if> What I need as you can probably realise is the table divide set at 5px when not collapsed and 0px when collapsed can anyone please help me? Thank you in advance
|
|
#2
|
||||
|
||||
|
You will need to use JS to detect this - not PHP. One way I can think of currently is to check the image that is displayed, as this changes.
|
![]() |
|
|