Thread: Multipage Menu
View Single Post
  #2 (permalink)  
Old June 3rd, 2003, 07:05 PM
Klom Dark Klom Dark is offline
Registered User
Join Date: Jun 2003
Location: Omaha, Nebraska, USA.
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts

I'd design a page that allows you to pass the Begin and End values for the data you wish to display, with a default to display value #1 through value #7 if no values are passed in.

Then have it create a NextPage link that has Begin set to Begin+7 and End set to End+7 when it is clicked.

If Begin > 7 then have it create a PreviousPage link with Begin-7 and End-7.

You'll have to do some sanity checking on the ranges to make sure the ranges passed don't exceed the total number of data items.

Shouldn't be too hard.