»
AnglaisFran�aisVietnamien

Imprimer - Un menu de la liste - JavaScriptBank.com

Version compl�te: jsB@nk » Menu » Navigation » Un menu de la liste
URL: https://www.javascriptbank.com/a-menu-list.html

Un menu de la liste © JavaScriptBank.comSi vous avez beaucoup d'espace sur la page web ou tout simplement vous souhaitez utiliser une plus large JavaScript menu liste, alors cette JavaScript pourrait vous convenir parfaitement. Cet JavaScript fonctionne très bien et est aussi très attrayant.

Version compl�te: jsB@nk » Menu » Navigation » Un menu de la liste
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-->