Tom,

Here's a snippet that will do what you want.

<table>
<@rows step=3>
        <tr>
        <td>@@resultSet[<@currow>,1]</td>
        <td>@@resultSet[<@calc expr='<@currow>+1'>,1]</td>
        <td>@@resultSet[<@calc expr='<@currow>+2'>,1]</td>
        </tr>
</@rows>
</table>

It's fixed to 3 columns, but you could use a variable, and put the <td>'s in
a for loop.

Dave
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Tom Carr
> Sent: Monday, May 13, 2002 3:18 PM
> To: Multiple recipients of list witango-talk
> Subject: Witango-Talk: Arranging a table vertically, not horizontally
>
>
> I am wanting to take the data coming out of a search and
> dynamically put the
> data in an html table vertically rather than horizontally like this:
>
> 1     6     11
> 2     7     12
> 3     8     13
> 4     9     14
> 5     10
>
>
> Rather than this:
> 1     2     3
> 4     5     6
> 7     8     9
> 10    11    12
> 13    14
>
> Anyone got a snippet to get me started here?
> I used to use the <MULTICOL> tag, but that is long since unsupported...
> Trying to recreate that functionality wiTango.
>
> Thx.
>
>
> --> [groundZERX]
> --> [t:o:m:c:a:r:r]
> --> [[EMAIL PROTECTED]]
> --> [847:757:4188]
>

________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body

Reply via email to