Go Back   CodingForums.com > :: Server side development > Other server side languages/ issues

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 03-13-2012, 03:35 PM   PM User | #1
dylanbaumannn
Regular Coder

 
Join Date: Feb 2012
Location: Nebraska, USA
Posts: 132
Thanks: 8
Thanked 19 Times in 19 Posts
dylanbaumannn is an unknown quantity at this point
Exclamation 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)?
dylanbaumannn is offline   Reply With Quote
Reply

Bookmarks

Tags
coldfusion, list, output, unsorted list

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:22 PM.


Advertisement
Log in to turn off these ads.