Hi everyone. I have one problem and I don´t know how to start to solve.Here it is: I want to do a webpage for show an image, that image change every second. I had succes for show and refresh the image every second, but the result that I obtain was not the best. this is due to the loading times. I think one solution but I don´t know how to do it in rails. My solution is to show the old image while the new image is loading, and when it finishes the load show the new image. But the principal problem is that the new image it´s saved on the file where it was the old image. Anyone can give any tip, about how can I do for solve this problem?? Thanks a lot!! Erwillie -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Ajax could work well here. Check out "periodically_call_remote". -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Sharagoz -- wrote:> Ajax could work well here. Check out "periodically_call_remote".I use the periodically call remote for refresh the image, but now the thing I want is to show the old image before the new image is loading, because if I don´t do that the image sequency doesn´t seem a video. My question is How to hide the new image while it loads. Thanks -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.