»
EnglishFrenchVietnamese

Print - A Menu List - JavaScriptBank.com

Full version: jsB@nk » Menu » Navigation » A Menu List
URL: https://www.javascriptbank.com/a-menu-list.html

A Menu List © JavaScriptBank.comIf you have plenty of space on you webpage or just would like to use a more comprehensive JavaScript menu list, then this JavaScript might suit you nicely. This JavaScript works very well and is also very visually appealing.

Full version: jsB@nk » Menu » Navigation » A Menu List
URL: https://www.javascriptbank.com/a-menu-list.html



JavaScript
<SCRIPT language=JavaScript><!-- Beginfunction go_to_station() {if (document.stationform.stationselect.options[0].selected) {window.location.href = "http://JavaScriptBank.com";}else if (document.stationform.stationselect.options[1].selected) {window.location.href = "http://JavaScriptBank.com";}else if (document.stationform.stationselect.options[2].selected) {window.location.href = "http://JavaScriptBank.com";}else if (document.stationform.stationselect.options[3].selected) {window.location.href = "http://JavaScriptBank.com";}else if (document.stationform.stationselect.options[4].selected) {window.location.href = "http://JavaScriptBank.com";}else if (document.stationform.stationselect.options[5].selected) {window.location.href = "http://JavaScriptBank.com";}return true;}function textValue() {var stationInteger, stationStringstationInteger=document.stationform.stationselect.selectedIndexstationString=document.stationform.stationselect.options[stationInteger].textdocument.stationform.stationtext.value = "Go to " + stationString +"!"}// End --></SCRIPT><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
<SELECT onchange=textValue() multiple size=5 name=stationselect>            <OPTION>JavaScriptBank.com            <OPTION>Link item #            <OPTION>Link item #            <OPTION>Link item #            <OPTION>Link item #            <OPTION>Link item #            </SELECT><br>            <INPUT onclick=go_to_station() type=button value=Go! name=stationbutton><br>            <INPUT maxLength=35 size=35 name=stationtext> <!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->