• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Edit Style Property Definition: On/Off Check Box

Junior

Well-known member
#1
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>