Question

When the browser is doing something, it sometimes displays a circle in the tab to show that the page is loading for example.

Is it possible to detect that, and get the mouse cursor to change to show the user that's IE is doing something?

I understand that I can write javascript to simulate such behavior, but I wanted to know if it possible to capture the state of IE more directly?

Was it helpful?

Solution

Something like this ?

CSS

body { cursor:progress; }
body.loaded { cursor:default; }

JS

window.onload = function() {
 document.getElementsByTagName('body')[0].className+=' loaded';
}

For all browsers

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top