[UPHPU] "Dynamic" Drop down menus

staff-gmail john.staff2222 at gmail.com
Sat Oct 20 12:59:49 MDT 2007


You have several options.  Most likely you can code it with ajax and 
javascript.   You don't need a database for your menu items by having 
them "fixed" in your javascript as arrays.  Or you could store them in 
an xml file.  If you use ajax , check out some frameworks like jquery or 
dojo.  I suspect some of their tutorials might cover just what you are 
looking for.  I've seen some ajax tutorials cover this topic so try 
searching for one. 



Caleb Call wrote:
> What's gong to be the simplest way to create a group of dynamic drop 
> down menus?  Basically what I want to be able to do is populate each 
> following drop down based on what was selected on the previous drop 
> down.  I am helping to put together a section of our intranet at work 
> that would have docs depending on their department and what they need 
> to know per department.  I'd like to try and not use a database but if 
> it's necessary or would make it easier, I could do that.  Any 
> suggestions? 
>
> _______________________________________________
>
> UPHPU mailing list
> UPHPU at uphpu.org
> http://uphpu.org/mailman/listinfo/uphpu
> IRC: #uphpu on irc.freenode.net
>



More information about the UPHPU mailing list