Add the JavaScript functions as described for Monroe
Public Library on pages 9.50 - 9.51 of your text. The assignment will
be assessed as follows.
Be sure to copy the files into your working drive and
directory so you can edit and save them.
HINTS:
You need a function:
<script>
<!---Hide from older browsers
function jump_to_link(weblist) {
var url_number=weblist.selectedIndex;
location=weblist.options[url_number].value;
}
//Stop hiding --->
</script>
You need an "onChange" event handler for each select:
onchange="jump_to_link(this);"
And an inline javascript object/method for the option not linked
to a URL so the current location reloads:
value="javascript:location.reload()"
|