Rick, Check out my pagination.cfc: http://www.dopefly.com/projects/pagination/ It's currently 1.0 RC, full release coming soon. Check out the documentation & live examples (code available in the download) to do basically exactly what you want.
-- nathan strutz http://www.dopefly.com/ On Thu, Apr 10, 2008 at 2:15 PM, Rick Faircloth <[EMAIL PROTECTED]> wrote: > Anyone know of a tutorial that would teach me how > to setup pagination that would work like this: > > < Previous 1 2 ... 8 9 [10] 11 12 ... 39 40 Next > > > - Previous Link > - Next Link > - First one or two pages > - Last one or two pages > - Current Page (represented by the [10]) > - Several links surrounding the current page > > I've always used the basic "Previous Next" pagination, but I'd > like to advance that. > > I looked online, but haven't found anything with all the specs, > or with enough of a start that I could figure the rest out. > > I checked into a javascript approach, but dumping all the records, > perhaps thousands, would be a little much for the client, I think. > > I'd be pulling records from a MySQL database. > > Thanks, > > Rick > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303140 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

