I'm not sure why you guys find this such a tough issue? The content of the Ajax call is populated into the content of the PWC. That content it requested from the server via an ajax call. Once the data gets loaded through an XHR, you can evaluate scripts. Once scripts are downloaded and XHR switches to status 4, prototype evals and executes scripts (if any are set to execute).
So what seems to be an issue? Is the sample attached to the PWC download isn't enough? Felix. On 12/11/06, Issachar Brooks <[EMAIL PROTECTED]> wrote:
Michael, I had this problem with Rico round corners a while back, but no one seemed to be able to know much about it. If you come up with a solution, can you post it? Thanks, Issachar Brooks On 12/9/06, Felix Shnir <[EMAIL PROTECTED]> wrote: > > Well, push it down with ajax content and execute it once its loaded, its > exaclty what you are doing with already by calling get ajax content, so in > it, also push down js that will call ur corners. > > Felix. > > > On 12/8/06, Michael Robertson < [EMAIL PROTECTED]> wrote: > > > We're using nifty corners (not the latest nifty cube.js > > <http://www.html.it/articoli/niftycube/index.html> which looks like an > > improvement) from Alessandro Fulciniti to round corners of various > > containers in our UI. The rounding function is normally triggered by the > > onLoad event of the page. We'd like to round the corners of containing > > elements within a windows' class dialog who's content is populated by an > > Ajax request. > > > > When the dialog is dynamically written into the DOM, the rounding > > function isn't called because there is no onLoad event. When we try to > > re-call the function from the dialog content we're fetching we run into > > timing issues because the javascript executes before the Ajax request is > > complete. Adding a delay to our function works but it results, inevitably in > > a noticeabe pause for the user. > > > > Ideally we'd like a callback hook that tells us when the Ajax request > > is complete. > > > > Any ideas would be much appreciated. > > > > ::Michael > > > > _______________________________________________ > > 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 > > > _______________________________________________ Javawin mailing list [email protected] http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com
-- Felix ------------------------- God put me on earth to accomplish a certain number of things. Right now, I'm so far behind, I will never die...
_______________________________________________ Javawin mailing list [email protected] http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com
