Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Create multi-level (tiered) select / list / drop down boxes

Status
Not open for further replies.
Joined
Dec 8, 2003
Messages
17,047
Location
GB
This is something that is asked a lot, and there isn't much in the FAQ area covering it exactly... so I've written an FAQ showing how to do this:

How do I create multi-level select / list / drop down boxes?

faq216-6294

Note: There are many different ways this could be achieved other than switch statements. I could have used nested arrays, objects... so many other methods. So if the method shown isn't right for you, there are others you can consider.

Hope this helps,
Dan

Coedit Limited - Delivering standards compliant, accessible web solutions

[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
Breaks in Safari 2.0.6 on a MacG4/5 in Tiger 10.4.6 - however, it works on IE5 on the same two macs
 
I've updated the code. It has been tested working in:

Windows
IE 6
IE 5.5
IE 5.0
Netscape 7.1
Fx 1.5.0.3
Opera 8.52
Opera 7.54
Opera 7.02

Mac OS X 10.4.6
Safari 2.0.3
IE 5.2.3
FX 1.0.7
Fx 1.5.0.2
Opera 7.54u1
Opera 8.02
Opera 8.54
Netscape 7.1
Camino 1.0

It is known to NOT work in:

Mac OS X 10.4.6
Opera 6.03

Dan

Coedit Limited - Delivering standards compliant, accessible web solutions

[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top