Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

BBS: Forms and Multiple Frame Targets - September 11, 1998 at 16:25:48

You are here: irt.org | BBS | Forms and Multiple Frame Targets [This BBS is closed]

Posted by Kevin McNamara on September 11, 1998 at 16:25:48:

OK, here's the code:

function surfto (selectlist) {
var myindex=selectlist.selectedIndex;
window.open (selectlist.options[myindex].value, target="Homepage");}

We're working a three-frame set. One's a static toolbar, two's a contents drop-down menu, three's named Homepage and carries the main information.

Works great, until we put an option in the list that loads an external link. We can't get it to go to the top of the browser and break out of our own frameset.

If I try to put a TARGET="_top" in the <OPTION> tag, the HTML editor flags it as improper and the function above ignores it.

Is there some way I can pass a TARGET="_top" from an <OPTION> and have it recognized by the above function or something similar?

Thanks,

Kevin
Is there some way that an external link can be l
Follow-ups:

You are here: irt.org | BBS | Forms and Multiple Frame Targets [This BBS is closed]

©2018 Martin Webb