Manipulating parent window

This is a discussion on "Manipulating parent window" within the JavaScript Forum section. This forum, and the thread "Manipulating parent window are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > JavaScript Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Nov 11th, 2005, 08:56
Junior Member
Join Date: Sep 2005
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Manipulating parent window

Hi everyone,
I've opened a new window using:
window.open('Opening.asp', 'MainWindow', 'height=800,width=1270,top=0,left=0,scrollbars=yes ,menubar,toolbar,location,status,resizable', false);


When certain links are clicked in this new window, I would like it to close. I assume this would be as simple as:
window.close();


but I would also like to change the url of the original window depending on the chosen link in the new window. Is this possible? And if so how?

Many thanks in advance
Reply With Quote

  #2 (permalink)  
Old Nov 11th, 2005, 11:44
Highly Reputable Member
Join Date: Jul 2003
Location: Ipswich, UK
Posts: 690
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Manipulating parent window

i think its
Code: Select all
<a href="#" onclick="opener.window.location='page.htm'; self.close();">link</a>
Reply With Quote
Reply

Tags
manipulating, parent, window

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Open another new window from javascript window thehermitage JavaScript Forum 10 Jan 27th, 2008 19:42
Submit a form in popup to the parent window hassan1365 JavaScript Forum 2 Jan 25th, 2008 08:34
[SOLVED] open new window from main window AdRock Other Programming Languages 1 Nov 1st, 2007 02:45
Submitting a parent form from a child window in IE 7 livehed JavaScript Forum 0 Feb 15th, 2007 16:23
Importing HTML and manipulating data? Tim356 PHP Forum 4 Aug 31st, 2006 08:54


All times are GMT. The time now is 10:46.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43