I have a directory that can have a small amount or possibly a large amount of files 
(3,000) files.

Here would be an excerpt of the directory:

10330.cfm
10331.cfm
10336.cfm
10440.cfm
10441.cfm
10442.cfm
10445.cfm etc..

If someone is looking at 10440.cfm, I would like to have two links a link to 10336.cfm 
(previous) and a link to 10441.cfm (next).

I could do a CFdirectory and populate a list with all the file names and then look to 
the before and after the selected file for the next/previous, but that seems alittle 
intensive.  

Does anyone have any suggestions on the most efficient way to get next/previous files?

Any help would be appreciated!

Paul Giesenhagen
QuillDesign


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137990
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com

Reply via email to