Solved

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

Posted on 2001-07-12
7
216 Views
Last Modified: 2013-12-24
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  
0
Comment
Question by:Moonscape
  • 4
  • 3
7 Comments
 
LVL 7

Expert Comment

by:ClassyLinks
ID: 6278805
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?

0
 

Author Comment

by:Moonscape
ID: 6278854
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
0
 
LVL 7

Expert Comment

by:ClassyLinks
ID: 6282466
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.
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 7

Accepted Solution

by:
ClassyLinks earned 100 total points
ID: 6282509
Try this:

<a href="javascript: window.opener.parent.rightframename.location = 'http://www.yahoo.com';">change right hand frame</a>

Can't remember whether the parent needs to be in there or not.
0
 

Author Comment

by:Moonscape
ID: 6283161
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
0
 

Author Comment

by:Moonscape
ID: 6284141
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  
0
 
LVL 7

Expert Comment

by:ClassyLinks
ID: 6284161
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.......
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

When setting up new project requests for our site, one of the most powerful tools our team has available to use is Axure (http://www.axure.com/). It’s a tool for creating software and web prototypes that can function and interact as if it were the a…
Objective of This Article In 1990’s, when I was a budding software professional, I had a lot of confusion about which stream or technology, I had to choose to build my career. In those days, I had lot of confusion like whether to choose System so…
The purpose of this video is to demonstrate how to Test the speed of a WordPress Website. Site Speed is an important metric of a site’s health. Slow site speed can result in viewers leaving your site quickly and not seeing your content. This…
The purpose of this video is to demonstrate how to integrate Mailchimp with Facebook. This will be demonstrated using a Windows 8 PC. Mailchimp and Facebook will be used. Log into your Mailchimp account. : Click on your name. Go to Account Setti…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now