<select> box and target frame?

by "Phil Babcock" <pbabcock(at)bgsgroup.com>

 Date:  Fri, 30 Jun 2000 09:58:08 -0400
 To:  "hwg-languages(at)hwg.org" <hwg-languages(at)hwg.org>
  todo: View Thread, Original
HI all

I have a selection box that is used for navigation and I want to be able to
specify that certain options use target="_top" instead of loading into the
current frame.  Is there a way to accomplish this?

Here is my code for the selection:

<select NAME="tools" style="font-size: 8pt; font-family: arial"
ONCHANGE="location.href=this.form.tools.options[this.form.tools.selectedInde
x].value">
<option selected value=index.asp>Tools</option>
<option value="search.asp">Search</option>
<option value="shopping_cart.asp">Shopping Cart</option>
<option value="quickshop.asp">Quick Shop</option>
<option value="fax.asp">Fax Order Form</option>
<option value="faqsandpolicies.asp">FAQ's and Policies</option>
<option
value="list.asp?Category=MA&request=true&source=index.asp>Maintenance</optio
n>
<option value="https://SECURESITE WILL BE HERE/index.asp">Order
History</option>
<option value="https://SECURESITE WILL BE HERE/index.asp">Account
Tools</option>
<option value="https://SECURESITE WILL BE HERE/index.asp">Check
Out</option>
</select>

As you can see the last 3 options are going to be linked to the secure
site, where we need to break out of our frameset. Any ideas? 


Phil Babcock
Lead Web Designer
BGS Group Inc.

HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.