PDA

View Full Version : [Help] Collapse Conditional


Stagehandspace
06-23-2008, 01:45 PM
Is there a collapse conditional?

I have tried this code:

<if condition="$vbcollapse[collapseobj_MyELEMENT]">
<td width="0px"></td>
<else />
<td width="5px"></td>
</if>

but nothing..

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 :D

Dismounted
06-24-2008, 07:33 AM
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.