You are here: irt.org | BBS | Re: js & windowopen() [This BBS is closed]
Posted by Pat J. Magnan on July 27, 1998 at 00:28:41:
In Reply to: js & windowopen () posted by Laary on July 24, 1998 at 13:35:11:
laary:
This little script should do it:
function openLink () {
parent.location = "page_for_main_window.html";
window.open ("instructions.html", "Title", "width=200,height=100");
}
The link should look like this:
<a href="page.html" onClick="openLink ();">Click Me</a>
You may also want to pass parameters to your function (such as the pages, to load in each window.). If your using frames:
change parent.location to parent.FRAMENAME.location.
Follow-ups:
You are here: irt.org | BBS | Re: js & windowopen() [This BBS is closed]