Home / code / php / scripts

Listbox menu

Writer: Christophe Wolfs
Published: 30 March 2008

This uses a list box as menu navigation.

If nothing happens, select another.
You have to change your previous choice.

<form name="MenuForm">
  <select name="Menuselect" onchange="document.location.href=document.MenuForm.Menuselect.options[document.MenuForm.Menuselect.selectedIndex].value">
	<option value="example1.html">Example 1</option>
	<option value="example2.php">Example 2</option>
  </select>
</form>

 

TOP