It appears you have not yet registered with our community. To register please click here...


Jump Menu's

This is a discussion on Jump Menu's within the Coding Tutorials forums. Topic: Welcome to todays jump menu tutorial. There isnt much to making a jump menu, its basicly a form with an ...


Reply
 
Postbit Seperator LinkBack Thread Tools Postbit Seperator Search this Thread Postbit Seperator Display Modes
Old 12-10-2006, 01:33 PM   #1 (permalink)
 
Status: Junior Member
Join Date: Dec 2006
Posts: 25
Trader Rating: (0)
Retire at 21 is on a distinguished road
TD$: 0.00
Donate
Default Jump Menu's
Welcome to todays jump menu tutorial.

There isnt much to making a jump menu, its basicly a form with an onchange and some javascript.

Code:
<form name='jump'> <select name='menu' onChange='location=document.jump.menu.options[document.jump.menu.selectedIndex].value;' value='GO'> <option value='destination1.php'>page 1</option> <option value='destination2.php'>page 2</option> <option value='destination3.php'>page 3</option> </select> </form>

in this code the javascript gets the value of the form when it has been changed and the javascript sends the browser to the value page.
I suggest if you dont know how to make a form yet, go back and have a look at the form tutorial and then give this another try.

Register @ Retire at 21 If you like this tutorial
Retire at 21 is offline   Reply With Quote
Table Bottom LeftTable BottomTable Bottom Right
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




Home | Site Map | Contact | Archive | Top

 

Copyright © 2007 - 2010 iTalkWebs Network

Search Engine Optimization by vBSEO 3.1.0