ssway
02-01-2005, 10:50 PM
I am having difficulty trying to build a menu with a set of 2 columns and another set of 3 columns.
The first set of 2 columns would be "car make" and "model" for example. The first column would be preloaded with various car makers (Ford, Honda, GM, etc). If the user were to select Honda in the first column all the various Honda models would appear in the next column.
Then on the same page the 2nd set of 3 columns would have "country", "province/state", "city". This would then behave in the same manner as the menu selection above. If "country" were to be selected, all the states of that country would then appear in the 2nd column. Then when clicking on a variable in the 2nd column the appropriate list of cities would appear in the final column.
In the end I would like to be able to pass on this data to a form submitted by the user to query/search a database. So each menu item would need a value that could be passed along.
Here are a few example pages of what I mean:
Example 1 (http://wdoe.riklund.org/root/javascript/visuals/selects/fill-list/index.html) (discussed here (http://www.sitepoint.com/forums/showthread.php?t=222093))
Example 2 (http://ati.com/support/driver.html)
Example 3 (http://nvidia.com/content/drivers/drivers.asp)
Any suggestions on the best way to implement this would be greatly appreciated thanks.
The first set of 2 columns would be "car make" and "model" for example. The first column would be preloaded with various car makers (Ford, Honda, GM, etc). If the user were to select Honda in the first column all the various Honda models would appear in the next column.
Then on the same page the 2nd set of 3 columns would have "country", "province/state", "city". This would then behave in the same manner as the menu selection above. If "country" were to be selected, all the states of that country would then appear in the 2nd column. Then when clicking on a variable in the 2nd column the appropriate list of cities would appear in the final column.
In the end I would like to be able to pass on this data to a form submitted by the user to query/search a database. So each menu item would need a value that could be passed along.
Here are a few example pages of what I mean:
Example 1 (http://wdoe.riklund.org/root/javascript/visuals/selects/fill-list/index.html) (discussed here (http://www.sitepoint.com/forums/showthread.php?t=222093))
Example 2 (http://ati.com/support/driver.html)
Example 3 (http://nvidia.com/content/drivers/drivers.asp)
Any suggestions on the best way to implement this would be greatly appreciated thanks.
