Not tested in IE yet, but so far I've -indeed- found out that it's all
synchronous. I can run the fx init after calling the function that
creates the simple elements (4 or 30 doesn't matter).

I remember working on a site in 20008 though where (at least for IE) I
had to put in some delays here and there to get things working.

On Nov 29, 11:38 am, Rajeev J Sebastian <[email protected]>
wrote:
> On Sun, Nov 29, 2009 at 2:46 PM, Rolf -nl <[email protected]> wrote:
> > I think I will have to do some testing to see how it goes. There's no
> > way really to fire an event when creating dom elements is complete.
> > That's why I mentioned some sort of periodical functions that runs and
> > checks if elements are "available" which in turn can fire an event...
> > ahwell..
>
> The best way to do this is to simply run your fx code right after
> constructing all your elements. As a previous poster wrote,
> modification of the DOM is done synchronously.
>
> If for e.g., your JSON object is loaded using Request.JSON. then in
> the 'complete' event handler, construct your DOM and start the Fx.
>
> Regards
> Rajeev J Sebastian

Reply via email to