On 12/3/06, Fabian Lange <[EMAIL PROTECTED]> wrote:

> Actually this was the first post I made here. I solved it this way:

>   loop: function(timePos) {
>     if(timePos >= this.startOn) {
>       Element.update(this.element,this.options.newContent);
>       this.cancel();
>       return;
>     }
>   }

>   new Effect.Fade(el,{queue:'front'});
>   new Effect.Updater(el,{newContent:ajax.responseText,queue:'end'});
>   new Effect.Appear(el,{queue:'end'});

I don't see how this would work in the desired way. Element.update()
is asyncronous. The Effect.Appear() will start just after the request
was made, it will not wait until the response is in.

--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Ruby on Rails: Spinoffs" group.
To post to this group, send email to rubyonrails-spinoffs@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to