1st Ergo
03-29-06, 04:26 AM
Hello all,
I am using this code on my category page.
<mvt:foreach iterator="product" array="products">
<tr>
<td align="left" valign="center" colspan=2>
<mvt:item name="fonts" param="ctgy_font">
<a href="/p/&mvta:product:code;">&mvt:product:code;
</a>
</mvt:item>
</td>
</tr>
I want to display a background color on Every Other Row.
I'm thinking something like this: If product number = odd then bgcolor=
How would I do this?
Thank you.
David
I am using this code on my category page.
<mvt:foreach iterator="product" array="products">
<tr>
<td align="left" valign="center" colspan=2>
<mvt:item name="fonts" param="ctgy_font">
<a href="/p/&mvta:product:code;">&mvt:product:code;
</a>
</mvt:item>
</td>
</tr>
I want to display a background color on Every Other Row.
I'm thinking something like this: If product number = odd then bgcolor=
How would I do this?
Thank you.
David