function MyTopics1(aMenu){nullOptions(aMenu); with (aMenu){/* Quite simply, each of these functions, MyTopics1, etc, fill in the second menu with the subjects for that topic. So for topic 1, the subjects are as below. The other functions similarly populate the menu with the appropriate subjects */ //Rewrites the text and values options[0]= new Option("Select a page","none");options[1]= new Option("JavaScript","");options[2]= new Option("HTML","");options[3]= new Option("CSS","");options[0].selected= true} //Netscape likes a refresh, but Microsoft doesn't if (navigator.appName.indexOf("Netscape")>-1)history.go(0) } |
Next: Triple Menu 4: Detecting which subject has been selected
![]() |
You can easily and quickly add a double drop down menu to your site. Click here to find out how. |