[ic] table-organise question/gripe

Peter peter at pajamian.dhs.org
Mon Oct 24 19:15:20 EDT 2005


I'd like to be able to use table-organise with the rows attribute but 
without the table attribute, unfortunately the code for table-organise 
explicitly does not allow this and has a line added in to prevent it. 
Any particular reason why this is the case?

Here's an example of what I'd like to do to get one table with all my 
thumbnails for my products lined up nice and neat with the data also 
lined up...

<table width="100%" border="0">
     [table-organize pretty=1 cols="[control cols 3]" rows=4 columnize=1]
     [if scratch random]
         [loop random="[scratch random]" list="[strip 
interpolate=1][scratch cross_codes][/strip]"]
     [else]
         [loop list="[strip interpolate=1][scratch cross_codes][/strip]"]
     [/else][/if]
           <td class="contentbar1" align="center" valign=top>
             <a href="[area [loop-code]]">[loop-description]</a>
           </td>
           <td align="center">
[if explicit]
[condition]
[loop-field price] == [loop-price noformat=1]
[/condition]
             [L]Our Price[/L]: <b>[loop-price]</b>
[else]
                 Regular Price: <STRIKE>[currency][loop-field 
price][/currency]</STRIKE><BR>
                 Sale Price: <b>[loop-price]</b>
[/else][/if]
           </td>
           <td align="center">
         [if-loop-field thumb]
               <a href="[area [loop-code]]">
               <img border="0" src="thumb/[loop-field thumb]"></a>
     [/if-loop-field]
           </td>
           <td>&nbsp;</td>
     [/loop]
     [/table-organize]


...so I'm curious if there's a realyl good reason why using the rows 
attribute implies using the tables attribute or was it just done that 
way because someone didn't think that it might be useful to have rows 
without table?

Peter
</table>


More information about the interchange-users mailing list