Connecting Tech Pros Worldwide Forums | Help | Site Map

Change Mouse Pointer

John Flynn
Guest
 
Posts: n/a
#1: Jul 20 '05
Bit of a newbie question here...is there a way to change a users mouse
pointer (substituting the usual arrow for another image ) upon visiting a
web page using JS? Any hints gratefully accepted!



Charles
Guest
 
Posts: n/a
#2: Jul 20 '05

re: Change Mouse Pointer


There's an easier way using CSS. Add this line of code to your .css file:

body, html { cursor: url(images/cursor.cur); }

Obriously you need to have a directory with a cursor named cursor.cur

--
Charles.


"John Flynn" <cf014d7560@blueyonder.co.uk> escreveu na mensagem
news:p5vqb.7508$W11.1754@news-binary.blueyonder.co.uk...
| Bit of a newbie question here...is there a way to change a users mouse
| pointer (substituting the usual arrow for another image ) upon visiting a
| web page using JS? Any hints gratefully accepted!
|
|


Closed Thread