473,382 Members | 1,202 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Referencing a window

Hi

I know how to open a new window from an html page with javascript.

However once that page is opened ( in my case its like a popup index page ).
I would like to know how to tell the original page to go to a specific page
based on the link pressed on the new popup index page. I cant seem to find
a way to refer to the other window.

Thanks

AL
Jul 20 '05 #1
2 1191
Andy Levy wrote:
Hi

I know how to open a new window from an html page with javascript.

However once that page is opened ( in my case its like a popup index page ).
I would like to know how to tell the original page to go to a specific page
based on the link pressed on the new popup index page. I cant seem to find
a way to refer to the other window.

Thanks

AL


window.opener

Jul 20 '05 #2
DU
Andy Levy wrote:
Hi

I know how to open a new window from an html page with javascript.

However once that page is opened ( in my case its like a popup index page ).
I would like to know how to tell the original page to go to a specific page
based on the link pressed on the new popup index page. I cant seem to find
a way to refer to the other window.

Thanks

AL


<a href="path/filename.ext" onclick="if(opener) {opener.location.href =
this.href;} return false;" title="Clicking this link will load it in
the main window"> Descriptive text of the link</a>

Not tested.

DU
Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
by: Robert Mark Bram | last post by:
Hi All! Is there a way to reference a window by name without doing something like this: open (, 'windowName'); The open method will open a blank window if there is no window with such a name....
2
by: Reply Via Newsgroup | last post by:
Folks, Windows, and refering to them (be they in seperate frames or in a popup) always catch me... There is parent, top, self, the name of the window itself and where it sits when refering to...
3
by: Morten Thorsen | last post by:
Hi frame experts c",) Hope you can help me out on this one I've got a frameset (index.html) on my server (server A) defining two frames. Left frame is named "menu" and contains a page (menu.html)...
4
by: Randell D. | last post by:
Folks, I have a javascript function which is a popup - It contains a list in form tags - When the user selects a value in the popup, and clicks submit, I want the values to be transfered to the...
2
by: worldcyclist_noSpam_noSpam_noSpam | last post by:
Hey folks! I RARELY program Javascript so I know very little about it. The current project I am on requires heavy Perl, Linux shell scripting, SSI, MySQL and Javascript and my brain is frying.........
1
by: John | last post by:
Hi all, I have a page which contains a few usercontrols inserted into placeholders on one main page. Inside one of these usercontrols is an iFrame tag which loads a page. If a user clicks on...
1
by: Iver Erling Årva | last post by:
I have a frameset with a top, left, right and bottom window. From the right window I call a function that opens a new standalone window (it's a report preview) on top of the others and from that...
2
by: Axel | last post by:
Hi, a question about something that seems very simple at first glance: is it possible to reference other controls of a subform in a query window without referencing through the parent form? I...
1
by: sanou | last post by:
me again ok this is probably not possible... but let's say i have an explorer window open to www.google.com is there any way to reference that browser window...that particular instance? ...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.