What's new
Guest viewing limit reached
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation
  • Already a member? Click here to login

Drop-Down Menu

McStormify

Expert Talker
PF Member
Messages
836
Highlights
0
Reaction score
0
Points
602
Peak Coin
0.000000¢
DB Transfer
0.000000¢
Hi Guys!

In this tutorial, I will make a HTML drop down menu. This is the code:

Code:
<form name="jump">
<p align="center">
<select name="menu">
<option value="http://xcodes.webhostingfox.com/forum/index.php">XCodes</option>
<option value="http://forumotion.com">Forumotion</option>
<option value="http://google.com">Google</option>
<option value="http://ask.com">Ask.com</option>
<option value="http://microsoft.com">Microsoft</option>
</select>
<input type="button" onClick="location=document.jump.menu.options[document.jump.menu.selectedIndex].value;" value="GO">
</p>
</form>

To change the text and links, just edit the following code:

Code:
<option value="http://xcodes.webhostingfox.com/forum/index.php">XCodes</option>

Click here for a demo

Thanks,
McStormify
 
Back
Top