FoxSecrets
Well-known member
I need to change css according to database checkbox value.
What's the best approach to get that?
e.g. (no idea how)
What's the best approach to get that?
e.g. (no idea how)
Code:
<xf:css>
<xf:if is="{$item.status} == 1">
.myclass {
display: none;
}
<xf:else />
.myclass {
display: block;
}
</xf:if>
</xf:css>