Edit Style Property Definition: On/Off Check Box

Junior

Well-known member
I'm creating a custom style property and would like to use the On/Off Check Box. How would I get it to display:inline an item when the box is checked and display:none when the box is unchecked?

Figured it out

Update:
Using the same On/Off feature, how would I do an if statement for text or javascript?

If on, show javascript, else don't show javascript. I have:

<xen:if is="!{$propertyhere}">
This doesn't seem to show with the style property box on or off.
<xen:else />

</xen:if>
 
Back
Top Bottom