Web >> Development >> Javascript >> How to do a drop down quick link menu

<script language="JavaScript"> <!-- function jumpto(){ var p = self.parent.frames.MenuFrame1.gotolocation1.jumpmenu.selectedIndex; self.parent.frames.BodyFrame1.location=self.parent.frames.MenuFrame1.gotolocation1.jumpmenu.options[p].value; //alert(self.parent.frames.MenuFrame1.gotolocation1.jumpmenu.options[p].value); } //--> </script> <script type="text/javascript">var switchTo5x=true;</script> <script type="text/javascript" src="https://ws.sharethis.com/button/buttons.js"></script> <script type="text/javascript">stLight.options({publisher: "83cf11a5-04b0-47d5-b5d0-fecf32207997", doNotHash: false, doNotCopy: false, hashAddressBar: false});</script> </head> <body> <FORM name="gotolocation1" method=GET action=some-action-url> <select size="1" name="jumpmenu" OnChange="jumpto()"> <option selected value="/home/" > </option> <option value="/home" >Home </option> <option value="/solutions">Solutions </option> <option value="/learn" >Learn IT </option> </select> ...