Creating pop down navigation boxes
Posted: Wed Dec 03, 2008 4:49 pm
Hey guys I'm wanting to create a navigation bar on the left hand side of my page. It contains several drop down option boxes such as "state", "city", "suburb". So first the user clicks on state and selects the right one, then when he then clicks city it will contain the cities located in that state and he can select one, and so on for suburbs. Could anyone please explain a little theory about how to do this? are there any good posts on it that you could direct me to? I am developing with the Zend Framework, how should i organize my data. Should i have the option box html in the view script and then pass it the "state", "city", "suburb" values from the controller. As there are quite a few, where should i store them, should they just be hardcoded into the controller or stored in database or in a helper function? If someone could please help explain to me how to design it that would be great.
Thanks everyone for the help!
Thanks everyone for the help!