I wanted to see anyone can help me fine the code to create a dropdown link or a flyout like the eBay link on this page http://pages.ebay.com/help/policies/adult-only.html you will see link Amateur items,
Adult anime items,Bondage items etc… I would like to fine that so I can make the links, does anyone have a idea or a code that is close to the same that would like to shear
google for “accordion menu”, tons of sample code out there.
Quite easy in jquery:
$(document).ready(function(){
// On dropdown box change
$("#DDB").change(function(){ // DDB is the id of the dropdown box
window.location.href = $('#DDB').val(); // redirect to the url contained in the value of the drop down box
});
});
<select id="DDB">
<option value="url1.htm">Link 1</option>
<option value="url2.htm">Link 2</option>
<option value="url3.htm">Link 3</option>
</select>
David