Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can i change the mouse pointer icon to a new picture during a mous 1

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hey there,

I want to have my pointer change from the usual 'hand pointing' icon to say a different icon. I mean when the user mouseOver the link or picture, the pointer changes to my picture. I'm sure i need a new picture but how do i get that to fire during a mouseOver event. It is for a comedy news site so the pointer would change to a hand giving the finger instead of a hand pointing to the object. Can anyone help me out?

Cheers,
David
 
you can change the mouse pointer using CSS
eg. style='cursor: help;' gives you a pointer with a question mark
there are a number of possible cursors you can have ( check out a CSS reference website (or the html/css forum)

however if you want your own image to appear as the pointer then that's different. i don't think that there is any other way to do it than to
- have an image ( initially invisible ) and,
- make it visible and position it with mouseover
- re-position it with mousemove
- hide it again with mouseout

hope that helps
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top