as you are using a database try something like
<CFPARAM NAME="URL.StartRow" DEFAULT="1">
<CFOUTPUT QUERY="query_name" STARTROW="#URL.StartRow#" MAXROWS="8">
#query_name.pic#
</CFOUTPUT>
<CFOUTPUT>
<A HREF="index.cfm?StartRow=#Evaluate(URL.StartRow + 8)#">Next 8</a>
</CFOUTPUT>
On your output page..
HTH Mike
-----Original Message-----
From: Jay Patton [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 19, 2000 21:54
To: CF-Talk
Subject: cfloop help (new)
Hello all,
Im kinda new at the coldfusion stuff ive picked it up really fast but im
having a problem.
i have over 200 images in two different categories, and i want to display
only 8 at a time so if i were to click on photos i would want to see the
first 8 photos in the database and then be able to navigate back and fourth
through the images displaying only 8 at a time. same with if i were to click
on paintings as well. but i honestly even after reading the entire chapter
on looping in my ColdFusion 4.5 book still dont quite understand how to make
the loop work. if anyone could help me out that would be great. Thanks
-Jay Patton
www.webpro-usa.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists