I want to change the style of the cursor as if it were going over a link. How do I do this?
Answer: Use the CSS cursor property You can define a custom cursor using the CSS cursor property. The cursor property takes the comma-separated list of user-defined cursors value followed by the generic cursor. First of all create cursor image and save it with the extension .
Modify the CSS cursor
value by using the css()
method
$('#selector').css('cursor', 'pointer');
Demo : http://jsfiddle.net/jomanlk/H6Nta/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With