the docs are good for searching... so is google:
http://docs.jquery.com/Tutorials:Mouse_Position

cheers
tlz


On May 30, 1:02 pm, Michael Price <[EMAIL PROTECTED]> wrote:
> Hi all,
> Working on something for a client at the moment - they have a map and
> they want to pinpoint where on this map something is, and then store
> this in the database.
>
> I'm thinking we put an image of the map in the admin area for them and
> they can click on it to set the co-ords, but I'm not sure how we'd fetch
> the co-ords of where they clicked? Just as X,Y pixels from the top left
> of the image, nowt too clever.
>
> $("#map").click(function() {
>      // WHAT GOES IN HERE?
>
> }
>
> Does anyone have any thoughts? All help much appreciated :)
>
> Regards,
> Michael Price

Reply via email to