In case anyone would like to know how to implement alternating row colors in a table using TT2, this is how:
[%- FOREACH object_id = objects.keys -%]
<tr class="cell[% loop.count() % 2 %]">
<td>foo</td>
</tr>
[%- END -%]
and then all you have to do is implement two CSS style classes named cell1
and cell0 with your different colors.
--
David B. Bitton
"Dr. Foo Mod 2"
[EMAIL PROTECTED]
www.codenoevil.com
Code Made Fresh Daily�
