Recordset Paging in a List/Menu

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
frontlines
Forum Newbie
Posts: 4
Joined: Wed Feb 08, 2006 11:03 pm

Recordset Paging in a List/Menu

Post by frontlines »

I'm trying to create a dropdown menu to navigate through records from a MySQL database like what you see here:

http://www.buckle.com/jump.jsp?itemType ... iSubCat=11

There's the typical back and forward buttons to go through the pages, but there's also the dropdown menu that has "Page 1 of X, Page 2 of X, etc." I've found every type of navigation for recordset paging in the world EXCEPT this one.

Any ideas?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Without looking at your link, I will say that it's called a jumpbox. Which we've talked about a lot here.

viewtopic.php?t=43391
frontlines
Forum Newbie
Posts: 4
Joined: Wed Feb 08, 2006 11:03 pm

Post by frontlines »

If someone could look at the link...after reading the referenced post above I don't really see how it relates to what I'm trying to do, which is recordset paging in a drop down (list/menu)

Did I miss something? I'm pretty much a newb, but I just didn't see what I needed there...
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

just looked at it, it is a jumpbox. using onchange, it merely changes the url being used for the page. Nothing more.
frontlines
Forum Newbie
Posts: 4
Joined: Wed Feb 08, 2006 11:03 pm

Post by frontlines »

Forgive my ignorance, but how do I go about doing that? I've never really seen anything like this and just don't get it...
User avatar
neophyte
DevNet Resident
Posts: 1537
Joined: Tue Jan 20, 2004 4:58 pm
Location: Minnesota

Post by neophyte »

The jumpbox works just like the "next" and "previous" links. Except in this case it dumping all the possible pages into a select box. It's all in the query string.
frontlines
Forum Newbie
Posts: 4
Joined: Wed Feb 08, 2006 11:03 pm

Post by frontlines »

I probably haven't done a good job communicating what a newbtard I am. I have absolutely no clue how to do this. Can you give me any code hints or tips? The pages I'm trying to do this on are here:

http://www.joeshirt.com/youth.php
http://www.joeshirt.com/schools.php
http://www.joeshirt.com/xpress.php

If you click a subcat on those pages it will pull up the results page where I need the drop down menu instead of the 1|2|3...

Any help would be greatly, GREATLY appreciated (and thanks to you have already helped...sorry I don't get it)
Post Reply