Change Mouse Pointer

Discussion in 'Javascript' started by John Flynn, Nov 6, 2003.

  1. John Flynn

    John Flynn Guest

    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!
    John Flynn, Nov 6, 2003
    #1
    1. Advertising

  2. John Flynn

    Charles Guest

    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" <> escreveu na mensagem
    news:p5vqb.7508$...
    | 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, Nov 6, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Oscar

    Change mouse pointer

    Oscar, Apr 15, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    3,286
    Andrew L. Van Slaars
    Apr 15, 2005
  2. MRAB
    Replies:
    0
    Views:
    589
  3. samiam@boston

    How do I change mouse pointer with DropDownList control?

    samiam@boston, Jun 30, 2005, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    248
    samiam@boston
    Jun 30, 2005
  4. Paulo Carvalho

    Change mouse pointer

    Paulo Carvalho, Oct 16, 2007, in forum: Ruby
    Replies:
    0
    Views:
    111
    Paulo Carvalho
    Oct 16, 2007
  5. Stefan Mueller
    Replies:
    0
    Views:
    354
    Stefan Mueller
    Jan 28, 2006
Loading...

Share This Page