Friday, April 16, 2010

Change mouse cursor

To change the mouse cursor you can use the below code

document.body.style.cursor='wait'

the following options can also be used

auto -- the default
crosshair - cross
pointer -- the hand similar to the one that appears over a link
help -- question mark
move -- the hand that signifies a movable element
text - cursor
wait -- hourglass

No comments:

Post a Comment