This snippet tells easily how to make a drop down menu! Easy as pie and quick too!
Ok, to start off... get your website ready that you want to put the drop down menu on. Then format it as you want it. Left, right, center... (left is <div align= left> YOUR CODES AND SUCH HERE</div> center is <center> YOU CODES AND SUCH HERE</center> right is the same as left but change left to right.) Then type in this code but change the things around. for example... <form name="gotolocation1" method="POST" ACTION=URI> <select name="serchengines"> <option value="www.google.com">Google</option> <option value="www.yahoo.com">Yahoo</option> <option value="www.dogpile.com">Dogpile</option> </select> <input type="button" onClick="location = document.gotolocation1.lissamenu1.options [document.gotolocation1.lissamenu1.selectedIndex].value;" value="Go"> </form> There's just one example, easy to change around. This one goes to google, yahoo, and dogpile.com . Well have fun with them!
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.