/    Sign up×
Community /Pin to ProfileBookmark

How do i make the selections in a dropdown list links?

I know how to make a drop down menu. (like the ones in forms)


—————————————

<HTML>
<FORM>

<SELECT NAME=”how do i do it” SIZE=”1″>
<OPTION SELECTED>????
<OPTION>how
<OPTION>do
<OPTION>i
<OPTION>do
<OPTION>it
<OPTION>????
</SELECT>

</FORM>

</HTML>
—————————————-

but how do i make them links?????

to post a comment
HTML

5 Comments(s)

Copy linkTweet thisAlerts:
@_Aerospace_Eng_Feb 11.2005 — &lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd"&gt;
&lt;html&gt;
&lt;head&gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"&gt;
&lt;title&gt;Nav Menu&lt;/title&gt;
&lt;/head&gt;

&lt;body&gt;
&lt;!--This one below opens in the same window--&gt;
&lt;form&gt;
&lt;select onchange="window.location=this.value;" name="samewin"&gt;
&lt;option value="" selected&gt;Select&lt;/option&gt;
&lt;option value="http://www.webdeveloper.com"&gt;Webdeveloper&lt;/option&gt;
&lt;option value="http://www.google.com"&gt;Google&lt;/option&gt;
&lt;/select&gt;
&lt;/form&gt;
&lt;!--This one below opens in a new window--&gt;
&lt;form&gt;
&lt;select onchange="window.open(this.value);" name="newwin"&gt;
&lt;option value="" selected&gt;Select&lt;/option&gt;
&lt;option value="http://www.webdeveloper.com"&gt;Webdeveloper&lt;/option&gt;
&lt;option value="http://www.google.com"&gt;Google&lt;/option&gt;
&lt;/select&gt;
&lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;
Copy linkTweet thisAlerts:
@IncaWarriorFeb 11.2005 — you should put in a <noscript> </noscript> option as well
Copy linkTweet thisAlerts:
@PeOfEoFeb 12.2005 — [i]Originally posted by IncaWarrior [/i]

[B]you should put in a <noscript> </noscript> option as well [/B][/QUOTE]
[COLOR=deeppink]Yes, without the noscript a fairly large chunk of the internet is not going to be able to use your navigation, this is because a lot of the internet does not support javascript.[/COLOR]
Copy linkTweet thisAlerts:
@Masamune212authorFeb 12.2005 — Awsome thanks dude i appretiate it. ?
Copy linkTweet thisAlerts:
@_Aerospace_Eng_Feb 12.2005 — yw, yeah the noscript tags just totally slipped my mind :o
×

Success!

Help @Masamune212 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...