[jQuery] need input for make an img map of sorts

[jQuery] need input for make an img map of sorts

From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On
Behalf Of bmsterling
Subject: [jQuery] need input for make an img map of sorts
Could not think of a subject title that was real clear so be patient
with me.
I guess what I need at first is, how do I find where the user clicks
inside
this image or video box and then keep track of each click while putting
an
image/icon at each point.
Thanks,
Ben
--
Here is a very simple start. I attached a .click() event to the BODY
and then fed the clientX and clientY params into an array called cords.
Once the array was updated I displayed it as well. You will probably
want to change how you handle adding a point and displaying the results.
This is pretty simple, so let me know if you were looking for something
more specific.
http://pastie.caboo.se/28385 - HTML, CSS, JS
-ALEX
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
























    • Topic Participants

    • alex