Randy said:
Actually it doesn't. It attempts to set the documents cursor via CSS.
The script was blocked from running on the PC I'm using, I assumed it
was because of a cookie.
In any case, the OP doesn't warn that the script attempts to connect to
the webcursors site whenever someone visits your site. Nor is there
any guarantee that the content of the script file will stay the same -
the script does not explicitly link to the JS file, but to an ASP page.
It could load anything, I am not aware of the possible ramifications of
that but I suspect it is not consistent with good security.
As it turns out, it is trivial to download the animated cursor by
following the .asp link, getting the .js file and using the url to
download the .ani file.
Can you back up that claim? The site actually works just fine in IE6
with a very tight rein on security, as all it does is set a style
property. It would be more efficient and less error prone to simply
offer it as a .css file with a definition though.
It does not work in my version of IE, which is on a corporate
controlled machine that I am not even allowed to _see_ the security
settings of, much less modify them. All I can say is that I get the
following error from IE:
Line: 86
Char: 1
Error: Object required
Code: 0
And that is from a file with only 20 lines in it, so I have no idea
what line 86 refers to.
In Firefox, I get:
Error: document.body has no properties
Source File: http>//
www.webcursors.co.uk/webcursors.asp?i=flowerlink
Line: 85
So the script does not run at all for me.
Cheers, Fred.