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?

有帮助吗?

解决方案

Something like this ?

CSS

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

JS

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

For all browsers

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top