aharvey
08-07-2005, 09:54 PM
Script: Combo Box viewer
http://www.dynamicdrive.com/dynamicindex17/comboviewer.htm
Problem: I'd like to have the combo box list contain links that call the same page that the combo box itself is on, but doing so resets the combo box to the first selection on the list, even in the absence of instructions to do so. Is there any way to have the same selected choice and corresponding subset of links persist?
In case this isn't clear, here's my working document:
http://www.bio.georgiasouthern.edu/GR-inverts/grlistmod1.html
The combo box in question is in the left column. Clicking on the link is supposed to insert stuff relevant to the chosen species in the proper location in the right column. The problem to which I refer can be seen if you select a list other than Annelida (say, Vertebrates), and then click on a species name from the new list. You get the proper information on the right, but the combo box on the left resets itself to Annelida. I'd rather the combo box in this example continue to show the Vertebrates list rather than revert to the Annelid list!
(By the way, I know there are other things that don't work on this page yet. I'm plowing through the issues one at a time. You should have seen this thing this morning!)
Thanks in advance for any suggestions.
Alan
http://www.dynamicdrive.com/dynamicindex17/comboviewer.htm
Problem: I'd like to have the combo box list contain links that call the same page that the combo box itself is on, but doing so resets the combo box to the first selection on the list, even in the absence of instructions to do so. Is there any way to have the same selected choice and corresponding subset of links persist?
In case this isn't clear, here's my working document:
http://www.bio.georgiasouthern.edu/GR-inverts/grlistmod1.html
The combo box in question is in the left column. Clicking on the link is supposed to insert stuff relevant to the chosen species in the proper location in the right column. The problem to which I refer can be seen if you select a list other than Annelida (say, Vertebrates), and then click on a species name from the new list. You get the proper information on the right, but the combo box on the left resets itself to Annelida. I'd rather the combo box in this example continue to show the Vertebrates list rather than revert to the Annelid list!
(By the way, I know there are other things that don't work on this page yet. I'm plowing through the issues one at a time. You should have seen this thing this morning!)
Thanks in advance for any suggestions.
Alan