Changing Cursor on Image Hover using JavaScript
The event captured in this case is “onMouseOver” and “onMouseOut” .
The cursor can be changed with the following script:
onmouseover=”this.style.cursor = ‘hand’;”
onmouseout=”this.style.cursor = ‘auto’;”
Example:
imageLinkForDemo.Attributes.Add(“onMouseOver”, “this.style.cursor=’hand'”);
Now whenever a user hovers on the image, the mouse cursor changes to a hand image.
is it possible to keep my own image to the cursor say
onmouseover=”this.style.curso’vasu.jpg'”. i want this requorement if u know plz reply to my mail call2kancherla@gmail.com
@Srinivas : You can use the below code on page head..
To read more about this goto http://www.javascriptkit.com/script/script2/customcursor.shtml
Thanks it helped me
Doesn’t work in FF.
Great to meet you and, wonderful Post site, of which consist of very good information.
..bless you for the great post