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

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
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.
==============================================
 
Back
Top