Link to home
Start Free TrialLog in
Avatar of Moonscape
Moonscape

asked on

FP98 - Opening a page in the "Main Frame" from a "pop-up" window

Using the "OnLoad" command in a FP98 enabled site, a "pop-up" window is opened with a series of text hyperlinks - Is it possible, and if so, how, to open the target page of these hyperlinks within the "main" frame of the original framed environment site.
Many Thanks - Chris  
Avatar of ClassyLinks
ClassyLinks
Flag of Canada image

Hi Chris...

Just so that I understand you...the page you want the links to show up in is framed?  What are the frame names and which one do you want the "new" info to appear in?

Avatar of Moonscape
Moonscape

ASKER

Many thanks for the prompt response

The text links would be in the pop-up window, and when the user clicks on on eof these i wanted the target page to open up in the main frame of the site from which the pop-up was initiated - Does this help?

Chris
Sorry for the delay....I didn't get notification of your comment  8-(

I know this can be done....and other people have asked similar questions in othet ta's.....let me do some research and get back to you with the solution.
ASKER CERTIFIED SOLUTION
Avatar of ClassyLinks
ClassyLinks
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi

Again, many thanks for your response.

I will try your suggested code, and variants of it, and get back to you with the results.

Cheers Chris
Hi,

Tried the code you suggested but alas I could not get it to function, however it spured me on to try a couple of things and what did work was the following (This is in the Pop-up window)

<head>
<Script Language=javascript type="text/javascript">
<!-- Hide script from old browsers
function updateParent(newURL) {
opener.document.location = newURL
}

// End hiding script from old browsers -->
</Script>
</head>
<Body><a href="javascript:updateParent('demo2.htm')">change right hand frame</a>

I am sure that if I persevere with your orignal code I will be able to get it to work with a single JS call - I am however indebted to you for your interest in assisting me solve my problem - You are a star!

Thanks again

Chris  
Thanks for the points...however undeserved ;-)

Glad you got it working.

Strange thing though....I'm not getting any notifs when you post a comment.  All other comments seem to be getting through.

Tres Wierd!

Until next time.......