|
|
Home /
Groups /
ColdFusion Talk (CF-Talk)
Tutorial on creating this pagination?
Anyone know of a tutorial that would teach me howRick Faircloth 04/10/08 05:14 P Rick,Nathan Strutz 04/10/08 05:21 P Thanks for the tip, Nathan... I'll definitely check it out!Rick Faircloth 04/10/08 06:12 P Nathan,Rick Faircloth 04/10/08 09:07 P Awesome, glad it worked, thanks for the review. I'm blogging this. :)Nathan Strutz 04/10/08 11:11 P Be my guest! I'm looking forward to using some of theRick Faircloth 04/10/08 11:26 P Nathan...Rick Faircloth 04/12/08 07:43 A I think it's:Nathan Strutz 04/12/08 05:23 P Got it! Perfecto! Thanks, Nathan!Rick Faircloth 04/12/08 06:45 P >Nathan,Will Tomlinson 04/10/08 11:29 P I knew I hear from you, Will! :o)Rick Faircloth 04/11/08 12:11 A >I knew I hear from you, Will! :o)Will Tomlinson 04/11/08 06:02 A Have you looked at this?Sonny Savage 04/10/08 05:22 P Thanks for the tip, Sonny, I'll check it out!Rick Faircloth 04/10/08 06:12 P 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 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 <Rick@whitestonemedia.com> wrote: ----- Excess quoted text cut - see Original Post for more ----- Thanks for the tip, Nathan... I'll definitely check it out! Rick ----- Excess quoted text cut - see Original Post for more ----- Nathan, Just wanted to let you know that I implemented your component and it went perfectly...and that was the first cfc I've ever used! I haven't gone beyond the default settings, except for number of records per page, but I'm sure customizing will go well, too. Nice clear instructions for the use of the component. Much appreciated! Rick ----- Excess quoted text cut - see Original Post for more ----- Awesome, glad it worked, thanks for the review. I'm blogging this. :) On Thu, Apr 10, 2008 at 6:08 PM, Rick Faircloth <Rick@whitestonemedia.com> wrote: ----- Excess quoted text cut - see Original Post for more ----- Be my guest! I'm looking forward to using some of the custom designs that you've created, as well! Rick ----- Excess quoted text cut - see Original Post for more ----- Nathan... I've customized the look of the pagination for paginationcfc and it looks just the way I want, except I haven't figured out what CSS controls the ellipsis. How do I change the color of that? Rick ----- Excess quoted text cut - see Original Post for more ----- I think it's: div.pagination { color:#F00; } At the same time, make sure you specify colors for anything else it may affect, such as: div.pagination span { color:#0F0; } On Sat, Apr 12, 2008 at 4:43 AM, Rick Faircloth <Rick@whitestonemedia.com> wrote: ----- Excess quoted text cut - see Original Post for more ----- Got it! Perfecto! Thanks, Nathan! Rick ----- Excess quoted text cut - see Original Post for more ----- >Nathan, > >Just wanted to let you know that I implemented your component >and it went perfectly...and that was the first cfc I've ever used! My god son!! :) I knew I hear from you, Will! :o) Yep, that was the first file I've had on my system with a .cfc extension! I'm catching up, *slowly* but surely! Rick ----- Excess quoted text cut - see Original Post for more ----- >I knew I hear from you, Will! :o) >Yep, that was the first file I've had on my system with a .cfc extension! > >I'm catching up, *slowly* but surely! I pretty much knew your apps suffered from a lack of sexiness. Keep workin on it I guess. :) Have you looked at this? http://paginationcfc.riaforge.org/ On Thu, Apr 10, 2008 at 5:15 PM, Rick Faircloth <Rick@whitestonemedia.com> wrote: ----- Excess quoted text cut - see Original Post for more ----- Thanks for the tip, Sonny, I'll check it out! Rick ----- Excess quoted text cut - see Original Post for more -----
|
Mailing Lists
|
Latest Fusion Authority Articles
|
||||||