Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2001-07-12
7
Medium Priority
?
229 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
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
LVL 7

Accepted Solution

by:
ClassyLinks earned 400 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When deciding to adopt any help desk solutions many factors should be explored before taking decisions. This will change from business to another but in general there are some kind of rule of thumb. Here are some quick tips: Do we need only ticket…
Geo-targeting is the practice of distributing content based on a person’s location, as best as you can determine it. Let’s look at some ways you could successfully use this tactic. The following tips and case studies could lead to meaningful results.
The purpose of this video is to demonstrate how to insert an Iframe into WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Open Page or Post…
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…
Suggested Courses

972 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