change mouse cursor


#1

does anyone knows to change mouse cursor each time i point to an object???


#2

Thats a javascript function not one of PHP.

Your best bet is to search on Google asking the same question :)


#3

here some info on java styles for cursor icon:

Here you replace the URL to the location of your castom Icon for the cursor…

<img src="thumb_text.php?DSCN0791.JPG" style="cursor: url(img/cursor.ico)">

otherwise you can use standelone icons provided by windows:

<img src="thumb_text.php?DSCN0791.JPG" style="cursor: auto">

Here the icon is set to “auto” you cann replace it with diferent parameters… I’ll post the list below…

crosshair
pointer
move
e-resize
ne-resize
n-resize
text
help
hand

And finally I’ve used the example of well it doesnt matter you can use java script style with every html element