By opening a window with a URL you are creating an iframe- this means a new context. So, using the parent is the way to go, unless you'd like to reload everything. But where's the problem in copying the style and whatever else from the parent?
Chris ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Issachar Brooks Sent: Tuesday, November 28, 2006 9:37 AM To: [email protected] Subject: Re: [Javawin] window resize Hi Felix or anyone that might be able to help. In this window, I am loading a url within my own site. Within this url I would like to be able to use the css styles and loaded javascript files of the parent. For example, in the parent I have loaded PWC, Scriptaculous, and Rico and Prototype(of course), plus my stylesheet and would like to be able to make ajax requests, round corners(with rico), effects (scriptaculous) inside my window without having to reload the js files within the URL that is loaded in my window, as this would realy cut down on the efficiency of my website. Is there a way to do this? Of course, I could use the parent. object for some things, but it seems that just makes things quite complicated, calling parent everywhere. Please enlighten me... Thanks alot...
_______________________________________________ Javawin mailing list [email protected] http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com
