|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (12 bit)
|
HTML Help.
How do you program drop-down menus in HTML. I am just starting to learn HTML, and do different things with it. I am now wondering how to do drop-down menus. Thanks.
|
|
|
|
|
|
#2 |
|
Staff
Premium Member
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
|
Pretty easy to do with a select statement:
<Select name="forum"> <Option>PC Mech</Option> <Option>None</Option> </Select> which would yield this: Now that is pretty basic. You might want to have a option selected value, which makes that one show first in the select list. Also you would generally specify values for the variables. |
|
|
|
|
|
#4 |
|
Member (12 bit)
|
I shouldn't have enabled HTML, but would you just use the HTML link code after the "option"?
|
|
|
|
|
|
#5 |
|
Registered User
Join Date: Nov 2001
Posts: 1,965
|
You need to use JavaScript, here is a good tutorial:
http://members.aol.com/grassblad/html/selMenu.html |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|