»
EnglishFrenchVietnamese

Print - Menu Simplified 2 - JavaScriptBank.com

Full version: jsB@nk » Form » Dropdown » Menu Simplified 2
URL: https://www.javascriptbank.com/menu-simplified-2.html

Menu Simplified 2 © JavaScriptBank.comAdd a simple JavaScript menu to your site with this dropdown form. Easy to use and customize.

Full version: jsB@nk » Form » Dropdown » Menu Simplified 2
URL: https://www.javascriptbank.com/menu-simplified-2.html



CSS
<style type="text/css">/*     This script downloaded from www.JavaScriptBank.com     Come to view and download over 2000+ free javascript at www.JavaScriptBank.com*/.jsbank_sample_cont {margin: 20px; padding: 20px;}.jsbank_sample_tit {font-weight: bold; margin-bottom: 10px; padding: 5px; width: auto; background-color: #c0c0c0; border: 5px solid #a0a0a0; color: black; text-align: center;}/*Created by: Boris Feldman Web Site: http://devx.com/*/.topic {  color: #fff;  font-weight: bold;  background-color: blue;}.link {  color: #000;  background-color: #dfdfdf;}</style><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


JavaScript
<script language="javascript">function selectURL(nexturl) { if (nexturl != "") {  window.top.location.href = nexturl; }}</script><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
<form action="#" method="post"><select onchange="selectURL(this.options[this.selectedIndex].value);"><option selected value="">Select location...</option><option class="topic" value="">JavaScript Source</option><option class="link" value="http://javascriptbank.com/javascript/ajax-javascript.html">     » Ajax scripts</option><option class="link" value="http://javascriptbank.com/new-javascript.html">     » New scripts</option><option class="topic" value="">Other JavaScript Sites</option><option class="link" value="http://javascriptbank.com">     » JavaScriptBank.com</option><option class="link" value="http://javascriptbank.com">     » JavaScriptBank.com</option></select><noscript><input type="submit" value="Go"></noscript></form><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->