»
EnglishFrenchVietnamese

Print - Multi Level Drop Down Menu - JavaScriptBank.com

Full version: jsB@nk » Snippet » Multi Level Drop Down Menu
URL: https://www.javascriptbank.com/multi-level-drop-down-menu.html

Multi Level Drop Down Menu © JavaScriptBank.comFinally DropDown Menu that you can use with ease. This JavaScript is brilliant with its simplicity. While most of the code is HTML you have great flexibility and ability to change it as you see fit. This JavaScript will work in Netscape and IE... Enjoy.

Full version: jsB@nk » Snippet » Multi Level Drop Down Menu
URL: https://www.javascriptbank.com/multi-level-drop-down-menu.html



JavaScript
<Script Language="JavaScript"><!-- Hide the script from old browsers --function goto(form) { var index=form.select.selectedIndexif (form.select.options[index].value != "0") {location=form.select.options[index].value;}}//--></SCRIPT><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
<FORM NAME="form1"><SELECT NAME="select" ONCHANGE="goto(this.form)" SIZE="1"><OPTION VALUE="">-------Please choice-------<OPTION VALUE="#">Title for item # 1<OPTION VALUE="#">Title for item # 2<OPTION VALUE="#">Title for item # 3<OPTION VALUE="#">Title for item # 4<OPTION VALUE="#">Title for item # 5<OPTION VALUE="#">Title for item # 6</SELECT></FORM><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->