471,603 Members | 1,987 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,603 software developers and data experts.

How do you put hyperlinks in drop down lists

I have just purchased the Expression Web. I have put in a drop down list but can not seem to get hyperlinks associated with them. Here is what I have:
<p class="style1"><select name="Swim" style="width: 170px">
<a href="swimming_pool_products.htm#MAGICOTE_METAL">M etal Coatings</a>








I would appreciate some help. Thanks. JJ
Oct 16 '07 #1
2 1780
7,435 Expert 4TB
Did Expressions generate that code or did you edit it? If so, I've lost all respect for that program.

There is no such thing as the "break;" in html. Also, <option> is part of the <select> element which is all contained in a <form> and you have neither of those.

You cannot insert a hyperlink into the text of an option.
Oct 16 '07 #2
enter the below script into you html body
<form name="mycombo">
<select name="example" size="1">
<option value="http://www.google.co.uk"> Google </option>
<option value="http://www.cnn.com"> CNN </option>
<option value="http://www.geocities.com"> Geocities </option>

<script language="javascript">
function go()
<a href="javascript:go()"><img src=" place your go img here " border=0></a>
Oct 19 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Marlene harkcom | last post: by
1 post views Thread by accyboy1981 | last post: by
2 posts views Thread by RAM | last post: by
4 posts views Thread by Prof | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.