if you pass in the event to the function you can use e.pageX and
e.pageY to get the coordinates of the click event
So:
$("#map").click(function(ev) {
mouseX = ev.pageX;
mouseY = ev.pageY
}
On May 30, 12:02 pm, Michael Price <[EMAIL PROTECTED]> wrote:
> Hi all,
> Working on something for
You can find what you need and more info on events there.
http://docs.jquery.com/Events_(Guide)
tlob wrote:
the docs are good for searching... so is google:
http://docs.jquery.com/Tutorials:Mouse_Position
That did the trick, thanks :)
Regards,
Michael Price
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 th
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 so
5 matches
Mail list logo