Drop-Down Menu :
THE TECHNIQUE








Each field in the drop-down menu has a name that will show in the menu.

The value attached to each of the fields are the URLs that should be called when the option is selected.

By adding onChange="DropDownMenu(this)" to the <select> tags we force the browser to run our script when a field is picked from a menu. The script then reads which option is picked, and loads the referring page.

It is possible to add a target to the URL which means that the referring page can either be loaded into the same window, into a specific frame, or into a new window.

 << PREVIOUS
READ MORE >>  
















DEVELOPER TIP!





     "Better Than Books - As Easy As It Gets!"