Issachar Brooks wrote: > 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?
Hi, jumping in here... Do you really need to load this window as a url? It sounds like you are doing a fair amount of work inside the new window anyway, why not simply build the whole thing in the parent context and skip the whole "new context" problem? I started a few weeks ago with the idea of making fairly simple pages and then loading them into a window via the url method. I quickly found that the communications between the inner and outer contexts became very unwieldy. I am now trying to write everything in the same context, loading content, javascript and even css via ajax calls and stuffing it into divs inside windows created on the fly. I like this approach much better. There are still a few cases where I need to use the url method, but these are surprisingly few. Try reexamining your basic problem and your troubles may go away. -- Will _______________________________________________ Javawin mailing list [email protected] http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com
