I think I'm having a Friday brain fart.
I want to output photos whose name is stored in a table and I want them to
display two across, like so:
Photo1 | Photo2
Photo3 | Photo4
Photo5 |
Etc...
And for some reason, I'm totally blanking on how to accomplish it...
I know it's CurrentRow and
oi Jeff!!
if query.currentrow mod 2 eq 0.
Friday, June 6, 2003, 11:24:18 AM, you wrote:
J I think I'm having a Friday brain fart.
J I want to output photos whose name is stored in a table and I want them to
J display two across, like so:
J Photo1 |
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
tdimg src=#image#/td
-0431
e-mail: mailto:[EMAIL PROTECTED]
WEB site: http://www.mif.com
WEB site: http://www.eaglegl.com
-Original Message-
From: Jeff [mailto:[EMAIL PROTECTED]
Sent: Friday, June 06, 2003 11:42 AM
To: CF-Talk
Subject: Re: Using mod to display two across in a table...
on 6/6/03 11:31 AM
Programmer General Lackey
Moonbow Software, Inc
: -Original Message-
: From: Jeff [mailto:[EMAIL PROTECTED]
: Sent: Friday, June 06, 2003 11:24 AM
: To: CF-Talk
: Subject: Using mod to display two across in a table...
:
:
: I think I'm having a Friday brain fart.
:
: I want to output
: Friday, June 6, 2003 16:42
To: CF-Talk
Subject: Re: Using mod to display two across in a table...
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
on 6/6/03 11:45 AM, Jerry Johnson at [EMAIL PROTECTED] wrote:
In CF:
cfif query.currentrow mod 2 neq 0
tr
/cfif
cfoutput
tdimg src=#image#/td
/cfoutput
cfif query.currentrow mod 2 eq 0
/tr
/cfif
Does this make sense?
Sure, but it doesn't work...lol...this is so ridiculous...I KNOW
on 6/6/03 11:45 AM, Jerry Johnson at [EMAIL PROTECTED] wrote:
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
tdimg src=#image#/td
/cfoutput
cfif query.currentrow mod 2 eq 0
/tr
/cfif
8 matches
Mail list logo