The ideal thing to do is to have them chain from one another, so that
one calls the next, rather than setting a delay and hoping the browser
gets the order correct. Take a look at defer() in the Prototype API.
That's basically a way to let the browser breathe between events. If
you're not
Element.appear calls Effect.Appear(element) under the covers.
Scriptaculous Effects all have a hook method that gets called after
the effect has finished animating. I suspect that's what you need to
do here. You can't use these extended attributes in the short-form
method, so you have to
Try adding Protaculous defer or delay to the second call, just to give
the browser a moment to acknowledge that the newly shown element is
really there.
Form.focusFirstElement.delay(0.1,'my-form');
something like that...
Walter
On Sep 22, 2010, at 10:50 AM, Kupido wrote:
Hi Walter,
your