Computer Solutions :: How to use HTML :: Adding a Drop-down Menu ~ Runboard


Computer Solutions
 How to use HTML
  Adding a Drop-down Menu
Support
Search
RSS

runboard.com       Sign up (learn about it) | Sign in (lost password?)


 
Wizard27

Global user

Registered: 10-2006
Posts: 122
Avatar
Reply | Quote
Adding a Drop-down Menu


<form
method="post" name="nameform"> <font color="#??????"
size="2" face="Times New Roman"><select name="mymenu"
size="1" style="BACKGROUND: #??????; BORDER-BOTTOM: outset; BORDER-LEFT: outset;

BORDER-RIGHT: outset; BORDER-TOP: outset; COLOR: #??????; FONT-FAMILY: Times New

Roman; FONT-SIZE: 12px">
<option selected value="http://www.google.co.uk">Google</option>
<option value="http://www.yahoo.com">Yahoo</option>
<option value="http://www.msn.com">MSN</option>
</select> <input type="button" value="Go" onclick="location =

document.nameform.tanyasmenu.options [document.nameform.tanyasmenu.selectedIndex].value;"
style="BACKGROUND: #??????; COLOR: #??????; FONT-FAMILY: Times New Roman;
FONT-SIZE: 12px"> </form>

This colour option will be the background of the main drop-down menu

This colour will select the font colour in the main drop-down menu

This will be the background colour of the button you click to go to the page selected

This will the colour of the font in the button window


Please note that the colours are there as a guide and are not the colours of the buttons, you can choose what ever colour you like, the coloured sections in the code are the ones to change


---
Image
29/11/06, 8:46 Send an Email to this person   Send a PM to this person
 
NOSHIPFOREVER
Member
Global user

Registered: 06-2005
Location: Los Angeles California
Posts: 46
Avatar
Reply | Quote
Re: Adding a Drop-down Menu


Thanks! all is working fine!

 :2thumb emoticon :2thumb emoticon

---
Image

25/3/07, 0:17 Send a PM to this person Send an AIM Send an MSN Message  Send a Yahoo Message
 


Add A Reply






Link to us   -  Blogs   -  Hall of Honour   -  Chat
You are not logged in (login)      Board's time is: 28/11/09, 23:54