JAVASCRIPT
JUMP MENU
_____
This is a javascript url selection redirect menu.
Change the urls to your own and add more options as required
No button
-select url-
MSN
GOOGLE
YAHOO
With button
-select url-
MSN
GOOGLE
YAHOO
THE SCRIPT
The script is required for both types of menu
It can be placed anywhere on the page or within the head tags it only needs to be added once per page no matter how many menus you have
<script language="javascript">function loadPage(pageURL){location.href = pageURL.options[pageURL.selectedIndex].value}</script>
THE MENU
No button
<form><select name="selectMenu" onchange="loadPage(this)"><option value="">-select url-</option><option value="http://mobile.uk.msn.com">MSN</option><option value="http://google.com/m">GOOGLE</option><option value="http://uk.m1.yahoo.com">YAHOO</option></select></form>
THE MENU
with button
<form><select name="selectMenuB" ><option value="">-select url-</option><option value="http://mobile.uk.msn.com">MSN</option><option value="http://google.com/m">GOOGLE</option><option value="http://uk.m1.yahoo.com">YAHOO</option></select><input type="button" value="SELECT" onclick="loadPage(this.form.selectMenuB)" /></form>
Log in