This might need to go in theory, maybe.
Either way..
Here is the nav system I got. On the left we have some options and whenever a user clicks on one of them it causes more options to be listed below that. and whenever they click one of those it opens up a new menu in the content area where they can make another choice which then leads to another choice and finally they are where they want...
to be more specific:
choose type of go-kart, choose specific model, choose general location on the go-kart, the specific location, and then they can see the parts for what they are looking at.
right now I am tracking all of this threw the URL but that is quickly becoming rather cumbersome, should I be tracking this with sessions? or what? Right now I'm twelve feet deep and don't remember where I am. or does somsoene have an entirely different idea all together?
Nav Menus
Moderator: General Moderators
- jayshields
- DevNet Resident
- Posts: 1912
- Joined: Mon Aug 22, 2005 12:11 pm
- Location: Leeds/Manchester, England
use javascript and css to display the menus instead of reloading a fresh PHP page each time one of the links are clicked.
i dont know how to do that, but i know thats probably gunna be your best option.
if not, then use the URL like you are, and devise some nifty way of using GET to navigate these menus, like http://www.url.com/index.php?menu=sub/sub1/sub2/sub3/
i dont know how to do that, but i know thats probably gunna be your best option.
if not, then use the URL like you are, and devise some nifty way of using GET to navigate these menus, like http://www.url.com/index.php?menu=sub/sub1/sub2/sub3/
-
Charles256
- DevNet Resident
- Posts: 1375
- Joined: Fri Sep 16, 2005 9:06 pm
- trukfixer
- Forum Contributor
- Posts: 174
- Joined: Fri May 21, 2004 3:14 pm
- Location: Miami, Florida, USA
google for Chained Selects, I think like this link I found on google http://www.devscripts.com/scripts/4485/ ... lect_Menu/
http://www.google.com/search?hl=en&hs=p ... rm&spell=1
http://www.google.com/search?hl=en&hs=p ... rm&spell=1
-
Charles256
- DevNet Resident
- Posts: 1375
- Joined: Fri Sep 16, 2005 9:06 pm