One way you can do this is to keep a count of the items in the list and when
the count is equal to X, create a new cell. Have the count restart every
time you create a new cell (<td>) and don't forget to close your previous
one. You can even have the X variable be something a user can set.

Margaret

-----Original Message-----
From: phumes1 [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 15, 2002 9:57 AM
To: CF-Talk
Subject: Re: Can this be done?


Hi,

This might be a crazy question but here it goes.

I'm using <cfdirectory to list files on our server. Some directories can 
have a 100+ files in them. Presently I'm displaying the list down the left 
side of my webpage under each other.

file1.txt
file2.txt
file3.txt
file4.txt
file5.txt
etc...

I was wondering if there is a way automatically using a table to do the 
following and if so, how?


file1.txt   file5.txt   file9.txt     file13.txt   file17.txt
file2.txt   file6.txt   file10.txt   file14.txt   file18.txt
file3.txt   file7.txt   file11.txt   file15.txt   file19.txt
file4.txt   file8.txt   file12.txt   file16.txt   file20.txt



+---------------------------------------------------------------------------
--------+ 

Philip Humeniuk
[EMAIL PROTECTED]
[EMAIL PROTECTED]
+---------------------------------------------------------------------------
---------+



______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to