(Example This is Used in current Frameset of Total Java Scripts 99)

<!-- TWO STEPS TO INSTALL PULLDOWN MENU (FRAMES): 1. Put the code into the FRAMESET of your frames HTML document 2. Be sure to give each frame a name: name="left" etc... --> <!-- STEP ONE: Copy this code into the FRAMESET of your HTML document --> <FRAMESET cols="250,*"> <frame name="left" src="leftframe.html"> <frame name="right" src="rightframe.html"> </FRAMESET> <!-- STEP TWO: Be sure to give each frame a name: name="left" etc... --> <!-- Script Size: 0K (281 bytes) -->

<!-- THREE STEPS TO INSTALL PULLDOWN MENU (FRAMES): 1. Put this code in the HEAD of your pulldown menu HTML document 2. Add the last code into the BODY of your pulldown menu HTML document 3. Put whatever you want in the other HTML document (rightframe.html) --> <!-- STEP ONE: Put this in the HEAD of your pulldown menu HTML document --> <HEAD> <SCRIPT LANGUAGE="JavaScript"> <!-- This script and many more are available online from --> <!-- The JavaScript Source!! http://javascriptsource.com --> <!-- Begin function leapto(form) { var myindex=form.dest.selectedIndex parent.right.location.href=(form.dest.options[myindex].value); } // End --> </SCRIPT> <!-- STEP TWO: Put this code into the BODY of your HTML document --> <BODY> <CENTER> <FORM NAME="myform"> <SELECT NAME="dest" SIZE=1> <OPTION SELECTED VALUE="http://javascriptsource.com/main.html">The JavaScript Source <OPTION VALUE="http://buttons.javascriptsource.com">Buttons Page <OPTION VALUE="http://games.javascriptsource.com">Games Page <OPTION VALUE="http://links.javascriptsource.com">Links Page <OPTION VALUE="http://passwords.javascriptsource.com">Password Protection Page <OPTION VALUE="http://user-details.javascriptsource.com">User Details Pages </SELECT> <INPUT TYPE="BUTTON" VALUE="Go" onClick="leapto(this.form)"> </FORM> </CENTER> <!-- STEP THREE: Put anything in other HTML document (rightframe.html) --> <!-- Script Size: 1.44 KB -->

1998 Copyright (C) Next Step All Rights Reserved