I know it is possible to use jQuery to do something like:
$('body').css('cursor','wait');
What I want to know is: is it possible to change the cursor to a custom loading animation, such as a simple 'spinner' gif?
Many thanks in advance.
I know it is possible to use jQuery to do something like:
$('body').css('cursor','wait');
What I want to know is: is it possible to change the cursor to a custom loading animation, such as a simple 'spinner' gif?
Many thanks in advance.
You are just manipulating CSS on the fly here. See the spec — URIs are acceptable. Browser support is variable. I haven't tried it in years, but last time I did Internet Explorer required the cursors to be in .cur format.
That said, while it is possible, there are a good set of standard cursors that users recognise. It is rare that you will have thing usefully represented by a cursor that isn't covered by the standard list, and when that list does cover things it should be used so users don't have to learn a new icon.
yes, have a look at this page
or this
custom cursor - 2 (easier to understand/customize i guess)
(but using non-default cursors is probably not a great idea)