Click to See Complete Forum and Search --> : Drop down menus - changeing content


pjb007
October 25th, 2006, 05:04 PM
I have 2 drop down menus.

In the first I have England, Wales Scotland etc.

In the second I would like content based on whats selected in the first, so if Wales is selected in the first drop down menu, the second won't contain places like London.

I'm using Dreamweaver.

PeejAvery
October 25th, 2006, 05:27 PM
You won't be able to use Dreamweaver for this. Dynamic content will require you to use JavaScript. W3Schools JavaScript Tutorials (http://www.w3schools.com/js/default.asp) should get you started down the right path.

pjb007
October 25th, 2006, 06:03 PM
Thanks, I thought it could be a JavaScript. Looked at W3Schools and can't see anthing along the lines of what I want.

PeejAvery
October 25th, 2006, 06:22 PM
How many items are in the drop-down lists? If it is a lot, coding it by hand is going to be annoying.

Here (http://alistapart.com/d/complexdynamiclists/dynamicselect.html) is a small example.