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
Menu List
[View Sample]
Menu list in HTML form. You scroll through the form, select an item, press "go" button and go to selected website
Insert into <HEAD>
Insert into <BODY>
<script language="JavaScript"> <!-- Begin function go_to_station() { if (document.stationform.stationselect.options[0].selected) { window.location.href = "http://www.shop4all.com";} else if (document.stationform.stationselect.options[1].selected) { window.location.href = "http://www.coomedia.com";} else if (document.stationform.stationselect.options[2].selected) { window.location.href = "http://www.microsoft.com";} else if (document.stationform.stationselect.options[3].selected) { window.location.href = "http://www.yahoo.com";} else if (document.stationform.stationselect.options[4].selected) { window.location.href = "http://www.netscape.com";} else if (document.stationform.stationselect.options[5].selected) { window.location.href = "http://msdn.microsoft.com";} return true; } function textValue() { var stationInteger, stationString stationInteger=document.stationform.stationselect.selectedIndex stationString=document.stationform.stationselect.options[stationInteger].text document.stationform.stationtext.value = "Go to " + stationString +"!" } // End --> </script> </head> <body> <center><h1>A Menu List</h1></center> <center> <table align="center" bgcolor="#b8860b" cellspacing="2" cellpadding="2" border="2"> <tr> <td align="center"> <table border="0" cellspacing="2" cellpadding="2" align="CENTER" valign="MIDDLE" bgcolor="#deb887"><tr><td align="CENTER" valign="MIDDLE"><form name="stationform"> <select name="stationselect" onchange="textValue()" multiple size="5"> <option>Shopping Home Page <option>BDG Home Page <option>Microsoft Home Page <option>Yahoo <option>Netscape <option>Developer's Page </select></td></tr> <tr><td align="CENTER" valign="MIDDLE"> <input type="button" name="stationbutton" value="Go!" onclick="go_to_station()"> </td></tr> <tr><td align="CENTER" valign="MIDDLE"><input type="text" name="stationtext" value="" size="35" maxlength="35"> <p> </form></td></tr></table></td> </tr> </table></center>
Other Options