At 1/10/01 04:44 PM, Max Møller Rasmussen wrote:
>From: Timothy Wilson [mailto:[EMAIL PROTECTED]]
>
> >Right now, I've got the dates stored in a TinyTable. I can iterate through
> >that list and generate the links, but I can't figure out how to display the
> >table in two columns.
>
>   <alternating column solution by Max M deleted for brevity>

Or, if you insist that dates flow down the columns like I do, you could use 
this untested revision of Max's solution:

<table width=100% border=0 cellpadding=4>
   <tr align=left valign=top>
     <td width=50%>
       <dtml-in meetingDateTable>
         <dtml-if "_.int(_['sequence-index'])*2==_.int(_['count-id']) or
                   _.int(_['sequence-index'])*2==_.int(_['count-id'])+1">
           </td><td width=50%> <!-- moved to next column -->
         </dtml-if>
         <dtml-var meeting_date><br>
       </dtml-in>
     </td>
   </tr>
</table>

Gosh, wouldn't it be nice to have a sequence-midpoint ? But then somebody 
would surely want a sequence-first-quartile and so on :-)


--
Dennis Nichols
[EMAIL PROTECTED]


_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to