SitePoint Sponsor |
|
User Tag List
Results 1 to 6 of 6
Thread: pop up control
-
Jul 20, 2001, 08:28 #1
- Join Date
- Feb 2001
- Location
- London
- Posts
- 344
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
pop up control
Hello
I've opened a pop up with javascript.
How would I go about controlling the parent window from the pop up, ie. changing it's content:
I tried this in in the pop up
<a href="new_page.htm" target="parent"> but that just opens up a new window.
Any ideas greatly appreciated.gorillaweb is a small London based digital design agency.
-
Jul 20, 2001, 08:58 #2
-
Jul 20, 2001, 08:59 #3
-
Jul 20, 2001, 09:43 #4
- Join Date
- Jun 2001
- Location
- Toronto, Canada
- Posts
- 9,123
- Mentioned
- 2 Post(s)
- Tagged
- 0 Thread(s)
window.opener
is the command to the parent window.
-
Jul 20, 2001, 09:45 #5
-
Jul 20, 2001, 09:57 #6
- Join Date
- Jun 2001
- Location
- Toronto, Canada
- Posts
- 9,123
- Mentioned
- 2 Post(s)
- Tagged
- 0 Thread(s)
javascript:window.opener.location.href='blah.html';
Is actually the correct reference because the object being opened by the parent is the window, not the document (top).
Bookmarks