Ken Ward's Java Script Tutorial ...

Drop-down Menus without Buttons

The following menu doesn't have a button. It operates when you select the page to go:

  The code for this is even simpler than the previous. You just get rid of the button and in the select element add:

<select name="select2" size="1" onchange="goToPage2()">


And everything else is the same! Just view the source.

Let's look at menus that give a text description of the page

[back to:  Drop-down menus]
[Contents of this Site][contents of Java Script Tutorial]
[on to: Menus with Descriptions]
[If you need to learn more about HTML visit the HTML Tutorial]

Most Recent Revision: 18-Oct-98.
Copyright 1998