Thanks guys, That's not what I'm looking for though. I have some big calls that reload almost all the page (like Facebook, to say) and for these I would like to give users "proper" loading feedback - as if the page was loaded without AJAX. onRequest can just modify something within HTML or temporarily change page title, but not change the state of the browser.
Matt On Jul 9, 8:14 am, Andrea Dessì <[email protected]> wrote: > maybe using the same "onRequest" (or a global one) for all of them you > can create a stack and show a loading box > in the proper way :) > > -- > Andrea Dessì > > Email: [email protected] > Skype: nkjoep > Blog:http://www.stealthefish.com/ > LinkedIn:http://www.linkedin.com/in/andreadessi > Jabber: [email protected] > Twitter:http://www.twitter.com/NKjoep > > On Fri, Jul 9, 2010 at 08:16, Aaron Newton <[email protected]> wrote: > > See also Spinner: > > >http://mootools.net/docs/more/Interface/Spinner > > > On Thu, Jul 8, 2010 at 7:22 PM, Ryan Florence <[email protected]>wrote: > > >> 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-b... > >> >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
