The demo does the same thing. The only way I know of is to set the cursor style for all elements. In IE you can use a blank custom cursor. The script, as currently written, only works in IE and NS4 (no one uses NS4 anymore) anyways, so where it says:
Code:
if (document.all)
document.onmousemove=followmouse1
else if (document.layers){
window.captureEvents(Event.MOUSEMOVE)
window.onmousemove=followmouse2
}
Make it like this:
Code:
if (document.all){
if (document.getElementsByTagName){
var allCursors=document.getElementsByTagName('*')
for (i = 0; i < allCursors.length; i++)
allCursors[i].style.cursor="url('blank.cur'),crosshair"
}
document.onmousemove=followmouse1
}
else if (document.layers){
window.captureEvents(Event.MOUSEMOVE)
window.onmousemove=followmouse2
}
You will need blank.cur (place it the same directory as your file), it is attached inside of blank.zip below:
Bookmarks