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

Reply via email to