NOTICE: Moderator edit: This code no longer works. The .js file on ripway no longer exists.
Refer to this post for other options:
http://www.smfsupport.com/support/smf_for_free_codes/code_new_improved_drop_down_menu-t4866.0.html;msg75870#msg75870
Casey here again with another code that I devised. Yes you heard it here a New and Improved Drop Down Menu. With this one you pick where you want to go and you press go, instead of the old one that you pick something and goes straight to it. I think it is better but you all can be the judge of that. Ok here is the code
Footer
<script src="http://h1.ripway.com/Caseyferguson/Codes/DropMenuCode.js"></script>
Header
<center><b>New and Improved Drop Down Menu</b><p>
<form name="form">
<select name="site" size=1>
<option value="">Go to....
<option value="http://www.yoursite.com">Name of Place Its Going
<option value="http://www.yoursite.com">Name of Place Its Going
<option value="http://www.yoursite.com">Name of Place Its Going
<option value="http://www.yoursite.com">Name of Place Its Going
<option value="http://www.yoursite.com">Name of Place Its Going
<option value="http://www.yoursite.com">Name of Place Its Going
</select>
<input type=button value="Go!" onClick="javascript:formHandler(this)">
</form>
</center>
Ok here are the things that you can change......
<center><b>
New and Improved Drop Down Menu</b><p>
<option value="">
Go to....<option value="
http:// www. yoursite .com">
Name of Place Its Going<option value="
http:// www. yoursite .com">
Name of Place Its Going<option value="
http:// www. yoursite .com">
Name of Place Its Going<option value="
http:// www. yoursite .com">
Name of Place Its Going<option value="
http:// www. yoursite .com">
Name of Place Its Going<option value="
http:// www. yoursite .com">
Name of Place Its GoingTutorial
OK to start off the thing in
brown is what they will see on top of the drop down menu, change it to what ever you want it to say or just delete the <b>New and Improved Drop Down Menu</b><p> of the code, the thing in
green is what they will see when they first see the menu, so you can change it to what ever you want them to see in there. The stuff in
red is the URL, change it to the URL you want them to go to. The stuff in
blue is what you are sending them to, change it to what ever your sending them to of course lol. Enjoy and give me feedback on how you like it. Oh and if you don't want it in the Center of the page then just take off the <center> and the </center> part of the code. As always I have it as a preview on my forum if you would like to take a look at it. The URL is at the top of this post so don't want to haft to post it up again. Enjoy!!!!!!
Edit: I have edited the code in footer so the code won't show up.