Dec 28th, 2000, 03:22 PM
I can't seem to figure this out.
There are many websites on the net that use this feature. I am working on an e-commerce site, and there will be hundreds of items in seperate categories. Each category will have it's own asp page. So, for example, you click on "Women's Shoes", then the "wshoes.asp" page is opened. Now here's what I can't figure out...
The "wshoes.asp" page loads a table in which there are individual cells, and each cell holds the item information for each shoe in the database. Right now, I have it that it just loads every single shoe item that is in the "WomenShoes" table in the database. This is not good because if there were to be 300 shoe items, then the surfer would have to wait for the whole page to load. I want to make it so that there are 5 pairs of shoes per page. And at the top of the page, there are the links "Previous 5" and "Next 5". And if the user is at the beginning of the database, then it should not show the "Previous 5" link (and if it's at the end then it shouldnt show the "Next 5" link). This is pretty much what almost every e-commerce site has these days... and I need to know how to do this.
Please Help...
-Simon Bingier
There are many websites on the net that use this feature. I am working on an e-commerce site, and there will be hundreds of items in seperate categories. Each category will have it's own asp page. So, for example, you click on "Women's Shoes", then the "wshoes.asp" page is opened. Now here's what I can't figure out...
The "wshoes.asp" page loads a table in which there are individual cells, and each cell holds the item information for each shoe in the database. Right now, I have it that it just loads every single shoe item that is in the "WomenShoes" table in the database. This is not good because if there were to be 300 shoe items, then the surfer would have to wait for the whole page to load. I want to make it so that there are 5 pairs of shoes per page. And at the top of the page, there are the links "Previous 5" and "Next 5". And if the user is at the beginning of the database, then it should not show the "Previous 5" link (and if it's at the end then it shouldnt show the "Next 5" link). This is pretty much what almost every e-commerce site has these days... and I need to know how to do this.
Please Help...
-Simon Bingier