bentpieceoflight-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Jun-24 04:52 UTC
Browser-level "Loading" Cursors for AJAX
I''ve only tested this in Firefox so far, but it seems handy. One more way to let people know that stuff is going on behind the scenes. var SomeAjax = new Ajax.Request("/some/address", { onCreate: function() { document.body.parentNode.style.cursor "progress" }, onComplete: function() { document.body.parentNode.style.cursor "default" } }) -- -=jack[turner-fBgUz5AM8P2sTnJN9+BGXg@public.gmane.org & thoughtbucket.tumblr.com] --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---