[Zope] Alternating Cols or Colors

Nick Garcia ngarcia@codeit.com
Tue, 21 Mar 2000 16:50:39 -0800


Ken Kinder wrote:
> 
> Does anyone know an elegant way (or a way at all) to alternate what
> color rows in a table are or to alternate which column a cell is on?

<dtml-in stuff>
<tr bgcolor="<dtml-if
sequence-even>#000000<dtml-else>#FFFFFF</dtml-if>">
  <td><dtml-var sequence-item></td>
</tr>
</dtml-in>

-- 
Nick Garcia | ngarcia@codeit.com
CodeIt Computing | http://codeit.com