[Zope] Design/DTML question

Max M maxmcorp@worldonline.dk
Wed, 10 Jan 2001 22:34:41 +0100


From: Timothy Wilson

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

Oh typical spine reaction I didn't read the dates, just assumed that it was
left/right as usual.

This untested code might work then: (The no-break tag <nobr> is really
underestimated. It can save loads of table tags.)

<table>
   <tr>
      <td><nobr>
         <dtml-if "_['sequence-index'] <= (_['batch-size']/2)">
            <dtml-var meeting_date>
         </dtml-if>
      <td>
   <tr>
   <tr>
      <td><nobr>
         <dtml-if "_['sequence-index'] > (_['batch-size']/2)">
            <dtml-var meeting_date>
         </dtml-if>
      <td>
   </tr>
</table>


Max M. W. Rasmussen,    Denmark.   New Media Director
private: maxmcorp@worldonline.dk work: maxm@normik.dk
-----------------------------------------------------
Specialization is for insects.  -  Robert A. Heinlein