in pseudo code first
if odd row, add TR
draw TD
if even row, add /TR
In CF:
<cfif query.currentrow mod 2 neq 0>
<tr>
</cfif>
<cfoutput>
<td><img src="#image#"></td>
</cfoutput>
<cfif query.currentrow mod 2 eq 0>
</tr>
</cfif>
Does this make sense?
Jerry Johnson
>>> [EMAIL PROTECTED] 06/06/03 11:42AM >>>
on 6/6/03 11:31 AM, Critz at [EMAIL PROTECTED] wrote:
> oi Jeff!!
>
> if query.currentrow mod 2 eq 0>.....
...then, what? This I can get. It's the closing of the table row that's
throwing me off...in pseudocode, I see this:
<cfif query.currentrow mod 2 eq 0>
<cfoutput>
<tr>
<td><img src="#image#"></td>
<td><img src="#image#"></td>
</tr>
</cfoutput>
</cfif>
But this obviously isn't right...arrrgh...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in
ColdFusion and related topics.
http://www.fusionauthority.com/signup.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4