<HEAD>
<TITLE></TITLE>
<SCRIPT LANGUAGE="JavaScript">
//This assumes that you have a page with multiple frames defined.
function change_2_frames(){
parent.frame1.document.location="/new_url_one.html";
parent.frame2.document.location="/new_url_two.html";
}
</SCRIPT>
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.
John Pollock posted this at 19:21 — 9th January 2000.
He has: 628 posts
Joined: Mar 1999
I think I have a tutorial on what you are after at:
http://www.pageresource.com/jscript/jframe2.htm
Hope it helps. (had to try the big grin)
tazman posted this at 20:20 — 9th January 2000.
They have: 99 posts
Joined: May 1999
<HTML>
<HEAD>
<TITLE></TITLE>
<SCRIPT LANGUAGE="JavaScript">
//This assumes that you have a page with multiple frames defined.
function change_2_frames(){
parent.frame1.document.location="/new_url_one.html";
parent.frame2.document.location="/new_url_two.html";
}
</SCRIPT>
</HEAD>
<BODY>
Here is some example code--
<FORM>
<INPUT TYPE="BUTTON" NAME="btnOne" VALUE="Change 2 Frames at Once!"
ONCLICK="change_2_frames();">
</FORM>
</BODY>
</HTML>
ben_389 posted this at 18:57 — 10th January 2000.
They have: 24 posts
Joined: Jan 2000
Cheers
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.