Hi, I needed to know if there was any way to sense readState in prototype. I need this to sense ready state 2 - loading - so I can place a Web 2.0 loading GIF in a <div> :) Thanks, Meefus --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Oh, I see! It''s AjaxVar (.) onUnitialized, onLoading, onLoaded, onInteractive, onComplete, or onException... Easy enough. ( source: http://prototypejs.org/learn/introduction-to-ajax ) On Sep 1, 11:53 pm, Meefus the Great <heli.m...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi, I needed to know if there was any way to sense readState in > prototype. I need this to sense ready state 2 - loading - so I can > place a Web 2.0 loading GIF in a <div> :) > Thanks, > Meefus--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
I''d suggest you''d use onCreate instead as onLoading,onInteractive and onLoaded aren''t fully supported in all browsers. --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---