Divs over images using JavaScript

Posted by Abhi on Stack Overflow See other posts from Stack Overflow or by Abhi
Published on 2010-03-16T06:54:26Z Indexed on 2010/03/16 6:56 UTC
Read the original article Hit count: 326

Say I have an image with a couple of dots in a web page. When someone clicks on the dots I want a JavaScript function to be executed and then a div placed over the clicked dot in the image. Something akin to markers in maps. How do I go about doing this?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about javascript-events