You are here: irt.org | BBS | Forms and Multiple Frame Targets: READ THIS ONE, IGNORE PREVIOUS [This BBS is closed]
Posted by Kevin McNamara on September 11, 1998 at 16:29:22:
Don't know how, but the previous post got a little fried.
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, and have a null target load in the Homepage frame?
Thanks,
Kevin
Follow-ups:
You are here: irt.org | BBS | Forms and Multiple Frame Targets: READ THIS ONE, IGNORE PREVIOUS [This BBS is closed]