onRequest: function(){ /* do whatever you want */ }

http://jsfiddle.net/rpflorence/NF2jz/187/

On Jul 8, 2010, at 7:07 PM, bootle wrote:

> Hey,
> 
> I've been searching all around internet for a solution to make
> browsers display loading information when accessing ajax content
> (spinner on tab and/or in address bar, 'loading...' text as title etc.
> - depending on browser). I'm looking for a behaviour like in Gmail and
> Facebook (for some calls), best if it could be implemented for JSON
> requests.
> 
> I found these two articles:
> 
> http://www.stevesouders.com/blog/2009/04/27/loading-scripts-without-blocking/
> http://www.obviously.com/tech_tips/slow_load_technique
> 
> Before I start experimenting with that though,
> I'm wondering if you know what would be the best way to achieve it
> with mootools? Is there any existing class/extension to Request that
> could make this easy or an approach you would recommend?
> 
> Many thanks guys,
> Matt

Reply via email to