Solved

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

Posted on 2001-07-12
7
218 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
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Web creation tool 12 105
COldFusion html Display 10 107
Best code editor tool for PC 4 132
difference in Google dev tools and Firefox print. 12 54
In this short web based tutorial, I wanted to show users how they can still use the powers of FrontPage in conjunction with Expression Web 3.  Even though Microsoft eliminated the use of Web components, we can still use them with FrontPage and edit …
Now that Expression Web 4.0 (http://www.microsoft.com/expression/products/Upgrade.aspx) is free if you buy or have the full version of Expression Web 3.0, now is the best time to  migrate from FrontPage to Expression Web (http://www.frontpage-to-exp…
The purpose of this video is to demonstrate how to reset a WordPress password if you are locked out and cannot reset the password. A typical use would be if you cannot access the email to which WordPress would send the password recovery email to…
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…

863 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

18 Experts available now in Live!

Get 1:1 Help Now