954,604 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?

How to make a drop down menu.

0
By .:.wolvie.:. on Mar 27th, 2005 12:34 pm

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!

i dont get it

Blade10878
Junior Poster in Training
86 posts since Nov 2004
Reputation Points: 10
Solved Threads: 1
 

It makes a drop-down menu. The things in the tags get added to the menu as options.

mmiikkee12
Posting Whiz in Training
274 posts since Oct 2004
Reputation Points: 17
Solved Threads: 5
 

explaining failure lol


Next time instead of saying "...change the things around." you should explain how to change it. People who are coming to read this explanation like myself can copy the code and see that it works. Knowing what was done or how to replicate it in a useful way is another matter though.

bajatmerc
Newbie Poster
3 posts since Jun 2009
Reputation Points: 10
Solved Threads: 0
 

It won't execute the URL

jangirke
Newbie Poster
1 post since Sep 2011
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You