[Zope] Using odd numbers
Geir Bækholt
Geir Bækholt <geirh@funcom.com>
Mon, 23 Apr 2001 11:30:59 +0200
<dtml-if sequence-index-odd>
ought to work...
:-)
--
Geir Bækholt
Web-Developer/Zopatista
geirh@funcom.com
http://www.funcom.com
on or about, Monday, April 23, 2001, we have reason to believe that gitte@mmmanager.org wrote something along the lines of :
gmo> Hello,
gmo> One time I saw some code using something like:
gmo> <dtml-if odd>
gmo> <TR BACKGROUND="#FFFFFF">
gmo> <dtml-else>
gmo> <TR BACKGROUND="#000000">
gmo> </dtml-if>
gmo> used to color the lines differently in a table.
gmo> I have tried the above code but it doesn't seem to be working - anyone who
gmo> remembers the correct code ?
gmo> Regards,
gmo> Gitte
gmo> _______________________________________________
gmo> Zope maillist - Zope@zope.org
gmo> http://lists.zope.org/mailman/listinfo/zope
gmo> ** No cross posts or HTML encoding! **
gmo> (Related lists -
gmo> http://lists.zope.org/mailman/listinfo/zope-announce
gmo> http://lists.zope.org/mailman/listinfo/zope-dev )