Solved

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

Posted on 2001-07-12
7
220 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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
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

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.

Question has a verified solution.

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

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…
Turn A Profile Picture Into A Cartoon Using Photoshop And Illustrator This tutorial will teach you how to make a cartoon style image out of a regular picture. I have tried to keep the tutorial as simple as possible. I used Adobe CS4 for this tuto…
The purpose of this video is to demonstrate how to update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…

785 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