tlob wrote:
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
--
Regards, Michael Price - [EMAIL PROTECTED]
---------------------------------------------------------------
Edward Robertson Ltd. - 1 Bondgate, Darlington, DL3 7JA
Direct: 01325 245077 - http://www.edwardrobertson.co.uk
Office: 01325 489333 - http://www.internetwebsitedesign.co.uk
---------------------------------------------------------------
Registered Address:
1 Bondgate, Darlington, County Durham, DL3 7JA, UK
Registration Number: 3931089 - Company registered in England
---------------------------------------------------------------
This electronic message transmission contains information from
Edward Robertson Limited that may be proprietary, confidential
and/or privileged. The information is intended only for the use
of the individual(s) or entity named above. If you are not the
intended recipient, be aware that any disclosure, copying,
distribution or use of the contents of this information is
prohibited. If you have received this electronic transmission
in error, please notify the sender immediately by replying to
the address listed in the "From:" field.