Hi
I am trying to set alternating row background color in threadbit. After searing around, I found this:
http://www.vbulletin.com/forum/showt...=1#post1490421
I altered the code (see below) and tried it to find I am getting only "alt1" from {vb:raw $altclass} .
Maybe there's something else I need to do?
Please help and thank you in advance
WC
Quote:
<vb:if condition="!isset($altrow)">
<vb:if condition="$altrow = 0"></vb:if>
</vb:if>
<vb:if condition="++$altrow % 2 == 0">
<vb:if condition="$altclass = 'alt2'"></vb:if>
<vb:else />
<vb:if condition="$altclass = 'alt1'"></vb:if>
</vb:if>
...{vb:raw $altclass}
|