Page 1 of 1

Nav Menus

Posted: Wed Nov 23, 2005 2:44 pm
by Charles256
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?

Posted: Wed Nov 23, 2005 2:47 pm
by jayshields
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/

Posted: Wed Nov 23, 2005 2:48 pm
by Charles256
yeah i'm no javascript pro..hell..i hardly know it..something about alert boxes.. :-D

Posted: Wed Nov 23, 2005 4:14 pm
by trukfixer

Posted: Wed Nov 23, 2005 4:16 pm
by Charles256
now that my friend is nifty and I may just have to change my entire site to change the layout to somethign using that! thanks! :-D