[Javascript] changing the mouse pointer

Peter Brunone peter at brunone.com
Thu Jun 13 19:15:27 CDT 2002


Lau,

    This can be done with a style attribute over items, so you should be
able to change it for the entire body like so:


document.body.style.cursor = 'hand;

    I only know "hand" -- don't have the chart handy :), but I believe the
name of the hourglass cursor is "wait".

Regards,

Peter
  -----Original Message-----
  From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On
Behalf Of Lau
  Sent: Wednesday, June 12, 2002 10:49 PM
  To: javascript at LaTech.edu
  Subject: [Javascript] changing the mouse pointer


  Is it possible to change the mouse pointer to the hourglass while a piece
of javascript is running? If so how?

  Thanks
  Lau
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20020613/cf147ca0/attachment.htm>


More information about the Javascript mailing list