Code Script .co.uk

Home | Scripts | Tutorials | Disclaimer | Sitemap | Contact

   Jump Menu
 

Reference / Javascript / Jump Menu

Insert into head:

<script language="javascript" type="text/javascript" >
<!-- hide

function jumpto(x){
 document.location.href = x
 
}

// end hide -->
</script>

 

Insert jump menu:

<form name="form1">
        <select name="jumpmenu" onChange="jumpto(document.form1.jumpmenu.options[document.form1.jumpmenu.options.selectedIndex].value)">
          <option>Jump to...</option>
          <option value=http://www.blah.com/somepage.php>Option</option>
      </form>
  





Please note that a disclaimer applies to any code on this page.
 
   Actions
  Go Back
  Bookmark
  Print Page


   Menu
 
- Links
- Reference
     - Javascript
          - Jump Menu
     - Mysql
     - Php
     - Standards
- Script Editors
- Tutorials
- Vbscript