Ken Ward's Java Script Tutorial ...

JavaScript Triple Menu

Triple drop down menu 7

Opening the page in an iframe

To explore self development and computer stuff: - choose a topic from the drop-down box on the left, then a subject from the box in the middle. And finally choose a page from the drop down menu on the right.

Select a topic ... ... then a subject ... ... and then a page to go ...

The onChange event for the last menu is renamed goIframe (because on this page there are a lot of functions) and goIframe is as follows: 

function goIframe(aMenu){
if (aMenu.options.value!="none")
{
parent.searchResultsIframe.location=
aMenu.options[aMenu.selectedIndex].value
}
else
aMenu.options[0].selected=true;

}

  That is, you load the selected page in an iframe, in this case one named, "searchResultsIframe".



Iframe starts here:

End of iframe

Ken Ward's HTML Guide...

 

[If you need to learn more about HTML visit the HTML Tutorial]

To ask questions, make comments, etc,
use the mailing list

I am always pleased to hear from you.
To ask questions, make comments, etc,
use the mailing list : Click here to join 1stJavaScript


And for some programming for your brain: check out New Life Course