Tuesday, November 13, 2012

javascript – History Api: How to tell the browser, that the page is loading?

I\’ve been working with the history api while I loading pages asynchronously via javascript/ jquery. I wondering how it\’s possible to tell the browser, that the site is loading, so that the browser can show a loading picture (like the spinning wheel in firefox).


Edit:


To be more specific:


If I load a page on my website, the url changes, the new content is shown, but Firefox don\’t show the spinning wheel as a signal, that the page is loading.


If I open a picture from the timeline in Facebook, the image is loading, the url changes and Firefox shows the spinning wheel to show, that the image is loading in the background.


I want that spinning wheel too!






Rating: 1 out of 5 based on 3 ratings



The post javascript – History Api: How to tell the browser, that the page is loading? appeared first on Javascript ASK.






via Javascript ASK http://javascriptask.phpfogapp.com/javascript-history-api-how-to-tell-the-browser-that-the-page-is-loading.html

No comments:

Post a Comment