On Wed, 2010-07-07 at 00:09 -0500, Skip Evans wrote: > Hey all, > > Is there a way to have a window opened with window.open() > inherit the parent windows JS environment? > > In other words, I call window.open() with a URL that displays > a form created by a PHP script. > > JS code has already been loaded by the parent, and I need to > be able to access that code via mouse overs and onclick calls > from the code in the newly opened window. > > Is this possible? > > Thanks, > Skip > > -- > ==================================== > Skip Evans > PenguinSites.com, LLC > 503 S Baldwin St, #1 > Madison WI 53703 > 608.250.2720 > http://penguinsites.com > ------------------------------------ > Those of you who believe in > telekinesis, raise my hand. > -- Kurt Vonnegut > Not really anything to do with PHP there :p What you're looking for though is window.opener which allows you to reference the window object of the frame that opened your new window, and access all of its functions and variables. Thanks, Ash http://www.ashleysheridan.co.uk