hockey97
September 10th, 2008, 10:54 PM
HI ok been working on my website and I am trying to make a listing.
I have a image map of the U.S.A and want when a client clicks the state to open a new page that would show the listings of the state.
Now I know how to do the above but I now also need a make a way to display all listings of that state by letting clients input date to create one item of the list. This would cause the list to be able to be long and I want to have a point that if the list is longer than a certain number of items I want to make a auto generator that would create a new page or create a link where it would seem like it's a new page but when clicked on the link it would take out what was displayed and show whatever that overflowed the limit.
It's kinda hard to explain but examples can be found on ebay, and board forms like this.
If you notice here on this board forum at the top or bottom you see numbers like 1,2,3,4,5 ect they are links when clicked it takes you to another page which shows more posts.
I am making a table with listings of items so as the list grows at a certain point I want to autogenerate a new link that would display the other stuff.
so for example lets say I have 100 posts and I can fit on one page 20 posts this would mean that I need 5 pages to fully display all the info.
I was thinking to do this with php but also have thoughts about if I can use javascript.
I would like to figure out what most do for coding such a thing,
I have a image map of the U.S.A and want when a client clicks the state to open a new page that would show the listings of the state.
Now I know how to do the above but I now also need a make a way to display all listings of that state by letting clients input date to create one item of the list. This would cause the list to be able to be long and I want to have a point that if the list is longer than a certain number of items I want to make a auto generator that would create a new page or create a link where it would seem like it's a new page but when clicked on the link it would take out what was displayed and show whatever that overflowed the limit.
It's kinda hard to explain but examples can be found on ebay, and board forms like this.
If you notice here on this board forum at the top or bottom you see numbers like 1,2,3,4,5 ect they are links when clicked it takes you to another page which shows more posts.
I am making a table with listings of items so as the list grows at a certain point I want to autogenerate a new link that would display the other stuff.
so for example lets say I have 100 posts and I can fit on one page 20 posts this would mean that I need 5 pages to fully display all the info.
I was thinking to do this with php but also have thoughts about if I can use javascript.
I would like to figure out what most do for coding such a thing,