[Zope] Even and odd db rows

Nick Garcia ngarcia@codeit.com
Thu, 12 Aug 1999 17:06:49 -0700 (PDT)


<!--#in listofstuff-->
  <td <!--#if sequence-odd-->BGCOLOR="#444444"<!--#/if-->><!--#var
sequence-item--></td>
<!--#/in-->

Should do the trick.

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

On Thu, 12 Aug 1999, Stephan Richter wrote:

> hey guys I am writing an application that displays all the members of my
> database. Since I want to list a minimum of 15 on one page I want to
> highlight every second one, so they can visually be seperated.
> 
> How would I do that?
> 
> stephan
> --
> Stephan Richter
> iXL - Software Designer and Engineer
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://www.zope.org/mailman/listinfo/zope
> 
> (To receive general Zope announcements, see:
> http://www.zope.org/mailman/listinfo/zope-announce
> 
> For developer-specific issues, zope-dev@zope.org -
> http://www.zope.org/mailman/listinfo/zope-dev )
>