Drop Down Box...hyperlink= target _top???

G

Guest

I have a drop down box that has links to other pages...my problem is I would
like to have the target for the hyperlink pages open with the target=_top.
Here is what I have for code so far.

<select size="1" name="D1" onchange="window.location.href=this.value;">
<option selected>Please Make a Choice</option>
<option value="http://localhost/game1_results.asp">Game 1 Results
</option>
</select>

any ideas on where I might add some code to get this to work?

Thanks for any help..
Rlittle
 
T

Thomas A. Rowe

If you have form tag surrounding this, then you can set the frame-target.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WebMaster Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top