Thanks for the suggestion. I am very new to Ajax, as I don't know javascript very well, but I am trying to learn it to implement on my site, which would make things much more flexible for me. Do you have any practical examples of the prototype Ajax functions for me to look at? I have looked at the scattered documentation, but being unfamiliar with javascript (I work with php and am just mastering that recently) the examples are a bit "abstract" to me. I understand the concepts, but putting it into practice is a little different.... currently I am rethinking my site because it is really slow (a combination of the javascript libraries, the php parsing time and the actual size of the images etc.), and wanting to make it more "ajax driven". I have been able to implement the Ajax.Updater for loading content into divs etc. but I am still researching how to load styles and javascript on the fly.... Any help is appreciated, although I don't expect any of you to take that time in helping me... (some links would be very helpful) :). I am just explaining all of this so you can understand at what level I am thinking.
Thanks once again, Issachar Brooks On 11/29/06, Will Merrell <[EMAIL PROTECTED]> wrote:
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
_______________________________________________ Javawin mailing list [email protected] http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com
