[thelist] Javascript: the parent of the parent
Jeff Wilhelm
jwilhelm at summit7solutions.com
Fri Jul 11 11:16:28 CDT 2003
When you launch the popup you can declare the name of the parent window:
<a href="#"
onclick="MyWindow=window.open('page.php','MyWindow','toolbar=no,location=no,
directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,width=600,
height=560,left=50,top=50'); window.name='site'">
Then you can target="site" to target the parent window.
Jeff
| * J E F F R E Y M. W I L H E L M * |
e: jeff at jeffwilhelm.com
w: www.jeffwilhelm.com
e: jeff at summit7solutions.com
w: www.summit7solutions.com
p: 401-874-3118 // 401-481-5991
f: 419-735-8865 // 208-979-7205
> -----Original Message-----
> From: thelist-bounces at lists.evolt.org
> [mailto:thelist-bounces at lists.evolt.org] On Behalf Of Emma Jane Hogbin
> Sent: Friday, July 11, 2003 12:12 PM
> To: The List
> Subject: [thelist] Javascript: the parent of the parent
>
>
> I have a feeling I should know this, but it's not coming to
> me immediately.
>
> This is what I want to do:
> 1) window.open a new window
> 2) click on links and do some general editing stuff in
> the pop-up
> window
> 3) self.close the pop-up window and reload the "parent"
> (main window)
>
> But the parent window appears to be the previous page, not
> the main window. How do I get the "main" window if I've
> surfed around in the pop-up window?
>
> thanks!
>
> emma
>
> --
> Emma Jane Hogbin
> [[ 416 417 2868 ][ www.xtrinsic.com ]]
> --
> * * Please support the community that supports you. * *
http://evolt.org/help_support_evolt/
Evolt.org conference in London, July 25-27 2003. Register today at
http://evolt.org.uk
For unsubscribe and other options, including the Tip Harvester
and archives of thelist go to: http://lists.evolt.org
Workers of the Web, evolt !
More information about the thelist
mailing list