[albatross-users] A better page system

Dave Cole djc at object-craft.com.au
Thu Jun 5 10:18:23 EST 2003


>>>>> "Michael" == Michael C Neel <neel at mediapulse.com> writes:

Michael> All, The current Albatross system gives us "prev" and "next"
Michael> links/buttons; but I was wondering if anyone had expanded
Michael> upon this yet.  I'd like to add to the system "first", "last"
Michael> as well as "now showing 20-29 of 354".  Extra credit will be
Michael> page numbers, so you can jump right to page 8 in the result
Michael> set and maybe some logic to group up the pages, like "1 2 3 4
Michael> 5 10 20 30 40" and then when on page 25 "10 20 23 24 25 26 27
Michael> 30 40".  I can start on this myself, but if there is
Michael> something out there to use, leverage from I don't want to
Michael> re-invent it.

That would be a nice addition to the pagination.  The current scheme
allows you to paginate sequences without needing to know their length.
By adding the "now showing 20-29 of 354" you would need to determine
the length of the sequence.  Is that a problem?  I am not sure.

Michael> Ps.  How close is that fabled new version of albatross? =)

The code has been ready for some time.  I need to keep plugging away
at the documentation.  I don't really have much against an interim/pre
release that is followed up with a real release once I finish updating
the documentation.

What are your thoughts Andrew?

- Dave

-- 
http://www.object-craft.com.au




More information about the Albatross-users mailing list