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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing Cursor Image

Status
Not open for further replies.

fpgiv

Programmer
Oct 1, 2003
91
0
0
US
Hi,
How would I change the cursor when I hover over an image? I figure it has something to do with onmouseover and onmouseout, but I don't know the command to make the cursor become the hand or go back to being a pointer.
Can anyone help?
Thanks!
 
if you do a google search for "CSS cursor" you'll probably get a lot of examples. I don't know what all the legal parameters are, but I use "pointer" to get a hand. You'd set it up like this:
Code:
<input type=button value="click me" style="cursor : pointer">
I'm sure there's many other cursors to choose from but I don't know what they're called. I know you can also define your own cursor, there's an example @ under the mouse scripts.

-kaht

banghead.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top