[Zope] Alt color in table.

Casey Duncan cduncan@kaivo.com
Tue, 12 Jun 2001 15:04:34 -0600


"Jason C. Leach" wrote:
> 
> hi,
> 
> Does zope have an eazy way to alternate row colour in a table? Anyone have
> a slick way to do it?
> 
> j.
> 
> ......................
> ..... Jason C. Leach
> ..
> 

<dtml-in list>
   <dtml-if name="sequence-odd">
        <tr bgcolor="#dfdfdf">
   <dtml-else>
        <tr bgcolor="#ffffff">
   </dtml-if>
   ...
   </tr>
</dtml-in>

hth,
-- 
| Casey Duncan
| Kaivo, Inc.
| cduncan@kaivo.com
`------------------>