How to change the location of the cursor image?

Possible duplicate:
Custom Cursor Interaction Point - CSS / JQuery

I change the image of the mouse cursor using the CSS cursor property ("cursor: url (images / target.png), crosshair;") and noticed when the user clicks on it, he takes a point from the upper left corner of the image.

How can I change this to a given point x and y in the cursor image?

edit: User cursor interaction point - CSS / JQuery gave me an answer (I think this makes a duplicate of the question) - thanks "mu is too short"

+4
source share
1 answer

Just an idea (I don’t know if it works): have you considered using a larger image with transparent space on the side where you need the offset?

0
source

All Articles