How about just setting the document.body's css cursor property to the progress icon and then set it back when you're done?
I'm doing it now + setting the page's <title> to "Loading...", that doesn't give the exact feel I want to achieve though I'm with Ryan here, I don't know what you're after. Can you point us to a site that behaves the way you want? I also agree: if you're loading an entirely new document via Ajax, you're doing it wrong. Just load a new document like normal. For example Gmail and Facebook do it this way (Facebook only for the main page loads though). Notice that when you load a 'new page' in either of these the site never actually reloads, header and the chat area stay intact, only the content is loaded - despite that, browser displays all the loading whistles as with a classic page load - hope I'm explaining it well enough I have just one call that I want to handle this way, as I wrote to Ryan, I think iframe might actually be a thing to experiment with. Thanks, Matt On Jul 9, 4:37 pm, Aaron Newton <[email protected]> wrote: > On Fri, Jul 9, 2010 at 8:24 AM, Trevor Orr <[email protected]> wrote: > > If I understand correctly you have multiple requests firing that replace > > most of the content on the page? Then I would guess you would to create and > > display a spinner and then have some way to figure out when the last request > > has completed and remove the spinner. > > The Group class lets you do that. > > How about just setting the document.body's css cursor property to > the progress icon and then set it back when you're done? > > I'm with Ryan here, I don't know what you're after. Can you point us to a > site that behaves the way you want? I also agree: if you're loading an > entirely new document via Ajax, you're doing it wrong. Just load a new > document like normal.
