View Single Post
  #2 (permalink)  
Old 05-03-2008, 01:41 PM
drjerm's Avatar
drjerm drjerm is offline
Regular Babbler
 
Join Date: Apr 2008
Location: American Fork, UT
Posts: 47
drjerm has a few positive reputation points
Send a message via MSN to drjerm
Default

By pagination, do you mean showing a list of items in a table like manner where you can page through them? Kind of like the Google search results on a page with their numbers at the bottom?

There are a few questions I have for you on this, one is are you just using static html pages? Or are you programming in asp, php, or some other programming language? Another question is where is the information from this list coming from, is it a database, xml file, or just a list on your web page?

If it is just static and you are not going to have too many paginated lists, I would just make a page called 'ListofItem1.html' and put items 1 - 20 on that page. Then make another page called 'Listofitems2.html' and put items 21-40 on that page, and so on. Then on the bottom of each page, put the number of pages like Google does (1 2 3 4 5) and have each number link to the right page. The problem with this is there is a lot of duplication and redundancy so maintaining is hard.

You can also use javascript to show and hide the information in your list. If you are interested in learning javascript and using it for a paginated list, I can help you with that. This will allow you to use one page for your information, which is nice.

If you are using a programming language like asp or php and have a database like mysql or sql server, I can help you with making one page that handles all of the pagination.

Let me know which option you prefer. If you would rather just be given a solution for all 3, I have no problem taking the time to create one for you
__________________
Jeremy Johnson
Discover Your Destiny
Create Your Legacy
Drjerm

Last edited by drjerm; 05-03-2008 at 02:18 PM.
Reply With Quote