Are there available events that can be hooked regarding the $$ function?

For example, my application makes use of a function similar to $$('.MyClass').each(function(element, index) { /* Do something nifty */ }); and it takes a noticeable amount of time.  I'm thinking that it would be beneficial to show a loading image while $$ is processing.  So I was curious if the $$ function offered any event hooks (beforeStart, afterFinish, etc) like scriptaculous events do... Does anyone think that this would work?  or would the browser be locked and not animate the gif?


_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to