Change Mouse Pointer

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • John Flynn

    Change Mouse Pointer

    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

    #2
    Re: Solution

    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@blu eyonder.co.uk> escreveu na mensagem
    news:p5vqb.7508 $W11.1754@news-binary.blueyond er.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!
    |
    |


    Comment

    Working...