im trying to have a rjs template update several elements.. i want to fade out 3 or 4 elements, replace them, and then have them reappear, but its not updating correctly. Right now the transitions are choppy and don;t work to well, heres my code as of now.. http://pastie.caboo.se/51676 im not sure the best way to queue actions and have them rendered properly, any help would be greatly appreciated -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
When I was experimenting with such effects, I found that the only way to get even reasonable effect transitions is to split up when effects are done. For example, blind up and fade out elements before posting the AJAX call, then have the RJS do the effect code to redisplay elements. Trying to get animations working together in the same RJS just wasn''t worth the effort, and it will most likely never be consistent across connections. Jason On 4/4/07, David Malin <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > > im trying to have a rjs template update several elements.. i want to > fade out 3 or 4 elements, replace them, and then have them reappear, but > its not updating correctly. Right now the transitions are choppy and > don;t work to well, heres my code as of now.. > > http://pastie.caboo.se/51676 > > im not sure the best way to queue actions and have them rendered > properly, any help would be greatly appreciated > > -- > Posted via http://www.ruby-forum.com/. > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
have a look at this post maybe it helps http://blog.railsdevelopment.com/pages/effect/queue/ -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---