CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   Other server side languages/ issues (http://www.codingforums.com/forumdisplay.php?f=9)
-   -   Coldfusion Output first 10 entries only (http://www.codingforums.com/showthread.php?t=253999)

dylanbaumannn 03-13-2012 03:35 PM

Coldfusion Output first 10 entries only
 
hello!

I styled a UL to be 600px and told all of the LI's to float left so that we could create the two columns relatively simply without touching the coldfusion at all, but when i do that it causes the list items to be in alphabetical order from left-to-right which isn't very readable.

Usually this wouldn't be an issue since i'd just hop into the code and end the UL and create a floated left UL2 which would sit next to it, however since it's being populated by coldfusion I'm not sure how to tell the ul to stop after X amount of li's.

Currently:
--------------------
a - b
c - d
e - f
g - h

Want it to be:
---------------------
a - e
b - f
c - g
d - h


So is there a way to tell coldfusion to output only the first (let's say 1-10) number of entries from the Services page, then tell it again to output the next set (11-20)?


All times are GMT +1. The time now is 08:08 AM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.