Changing 2 frames from a pop up window - Targetting frames from a pop up window

They have: 2 posts

Joined: Sep 1999

Here's the scenario:

Frameset with 2 frames. I click in the bottom frame which brings up a pop up window.
Now my question is, is it possible to change the original 2 frames at the same time by clicking in the pop up window?

Thanks for any help offered. Smiling

----------
***** [email protected]
===== Visit info.gamedesign.net for all your TFC editing needs

They have: 5,633 posts

Joined: Jan 1970

Insert the following code in the popup window.

function changeFrames() {
opener.parent.FRAME1 NAME.location.href = "URL";
opener.parent.FRAME2 NAME.location.href = "URL";
}

----------
[email protected]
http://go.to/hass

They have: 2 posts

Joined: Sep 1999

Thanks for the reply.

Btw, do you know the Javascript command to "refresh only" a
window? And can I execute that command from the pop up
so that it affects the original frameset windows?

Thanks again.

----------
***** [email protected]
===== Visit info.gamedesign.net for all your TFC editing needs

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.