سؤال

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