Pull Down Links

JUST HIGHLIGHT THE TEXT THEN RIGHT CLICK, COPY AND PASTE INTO YOUR HTML PAGE.

      BUT REMEMBER TO CHANGE THE VARIABLES THAT ARE IN RED!


Source code for Pull Down Links.

<!--Put this code (below) in your head section-->

<Script Language ="JavaScript"><!--the pull down menu
function leapto(form) {
var myindex=form.dest.selectedIndex;
location=form.dest.options[myindex].value;
}
// --></SCRIPT>

<!--Put this code (below) inside your HTML BODY section where you want the list to appear-->

<!-- START PULL DOWN LINKS -->
<FORM>
<SELECT NAME="dest" SIZE=1>
<OPTION SELECTED VALUE="index.html">Home
<OPTION VALUE="index10.html">JavaScript
<OPTION VALUE="guestbook.html">Guestbook

</SELECT>
<BR>
<INPUT TYPE="BUTTON" VALUE="Go!" onClick="leapto(this.form)">
</FORM>
<!-- END PULL DOWN LINKS -->


This document was last modified Friday, November 16, 2018