Metachecker.net
|
FontsMadeEasy.com
|
RankChecker.net
Learn Java Script Today
|
Over 5000 Free Fonts
|
Tutorials
|
Javascript Forum
|
Other Javascript Resources
|
Cheat Sheet
JavaScript Basics
Inserting Javascript
Complete Tutorial
Advance DHTML Tutorial
Script archive
Advanced Tutorials
Alert Scripts
Animation
Audio
Background Effects
Banner Ads
Browser Window
Buttons
Button Forms
Calculcators
Calendars
Clocks & Dates
Cookies
Cursor Effects
DHMTL Games
DHTML Miscellaneous
Equivalents
Forms
Games
IE4+ Scripts
IE5+ Scripts
Image Effects
Image Miscellaneous
Links & Buttons
Math Related
Messages Miscellaneous
Miscellaneous
Mouse Tricks
Navigation
Page Details
Password Protection
Pulldown Menus
Random Stuff
Scrolling
Status Bar
Text Animation
User Detail
User Info
Window Control
Drop List (Auto Link)
The advantage of this dropdown list to choose URLs is that there is no need for a submit button, as you can see.
Make a choice:
Select one
Baby
Bankruptcy
Bathroom
Beauty
Bedroom
Blogging
Insert into <HEAD>
Insert into <BODY>
<script> function listThem() { if (document.chooser.sitelist.selectedIndex == 0) alert("Please select something"); else if (document.chooser.sitelist.selectedIndex == 1) location = 'http://www.shop4all.com'; else if (document.chooser.sitelist.selectedIndex == 2) location = 'http://www.coomedia.com'; else if (document.chooser.sitelist.selectedIndex == 3) location = 'http://www.microsoft.com'; } </script> </head> <body> <center><h1>Another Dropdown list box</h1></center> <p>The advantage of this dropdown list to choose URLs is that there is no need for a submit button, as you can see.</p> <center><table border="5" cellpadding="5" align="center" valign="middle"><form name="chooser"> <tr><th align="center" bgcolor="#deb887">Make a choice:</th></tr> <tr><td align="center" bgcolor="#deb887"><select name="sitelist" onchange="listThem()"> <option selected>Select one <option>Home Page <option>Contents <option>Navigation Aids </select></td></tr> </form></table> </center>
Other Options