setting cursor to wait document-wide
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

setting cursor to wait document-wide

From: PJ6 <nobody@nowhere.net>
Date: Tue Jan 31 2006 - 16:36:44 CET

This is the only solution I've found to get a wait cursor document-wide:

function Busy()
{
 if (document.all) for (var i=0;i < document.all.length; i++)
document.all(i).style.cursor = 'wait';
}

Sadly, for pages with a lot of elements, its performance is not acceptable.

Any ideas?

TIA,
Paul
Received on Tue Feb 7 21:28:49 2006