Quote:
Originally Posted by Lynne
Try it and see. (You forgot the ones in the top four rows.)
|
Hi Lynne,
I just put this before threadbit now. I am getting only "alt1" for {vb:raw $post['altclass'] } in every row..
Thanks
WC
Code:
<vb:if condition="!isset($post['altrow'] )">
<vb:if condition="$post['altrow'] = 0"></vb:if>
</vb:if>
<vb:if condition="++$post['altrow'] % 2 == 0">
<vb:if condition="$post['altclass'] = 'alt2'"></vb:if>
<vb:else />
<vb:if condition="$post['altclass'] = 'alt1'"></vb:if>
</vb:if>