[Proto-Scripty] Re: Delay or defer ajax requests

2009-12-08 Thread T.J. Crowder
Hi, Yes they do. I'm using Script.aculo.us but i have to start multiple animations (i.e. fadeouts) on multiple elements, so its a bit tricky to use the afterFinish functions because it would get called after every finish of every element. Ah. I'm not a scripty-head, but I wonder if the

[Proto-Scripty] Re: Delay or defer ajax requests

2009-12-07 Thread T.J. Crowder
Hi, I'm using animations on my website, and i want to start an Ajax request after a animation has finished. So i want to use Function.defer (...) on the Ajax.Updater function. Your animations don't provide an `afterFinish` callback or similar? (Script.aculo.us' do, but you didn't say you were

[Proto-Scripty] Re: Delay or defer ajax requests

2009-12-07 Thread david
Hi David, You could also modify the AJAX Base class to accept a delay parameter, but it's more complex comparing to create an anonymous (or not) function ! I did not see any other choice. But I think that you should refine your question, because if your using scriptaculous, TJ response is the

Re: [Proto-Scripty] Re: Delay or defer ajax requests

2009-12-07 Thread Rick Waldron
I'm not at a computer to try this out, and well, it might be a little hair-brained but perhaps... ( new Ajax.Updater() ).defer(); -- Sent from my Palm Prē T.J. Crowder wrote: Hi, I'm using animations on my website, and i want to start an Ajax request after a animation has finished. So i