I have a JSON object that contains info about simple (div) elements
which should be created and injected into the page. It also contains
some configuration settings for styling and effects for each element.
These settings are send to an fxQueueCommand class thingy.

I will have to "wait" untill all elements are injected into the page
before I start the fx on the elements. In case the fx code can't find
the element, right? (testing this requires various tests with several
elements on different machines..)

Is the only way to check this some function that is run periodically,
and fires some event if it can find all elements?

Or, is creating dom elements really fast and is a simple delay
sufficient on the fxQueue.run() method. (this sounds already like it's
going to fail in IE).


The other way is returning a bunch of html already created server side
that can be injected and a json object with only the fx settings, but
I thought 100% would be a nice thing to do...

Reply via email to