How do I put a <div> box around my cursor on click?

Posted by marcamillion on Stack Overflow See other posts from Stack Overflow or by marcamillion
Published on 2010-04-08T05:33:16Z Indexed on 2010/04/08 5:43 UTC
Read the original article Hit count: 360

Filed under:
|

I am trying re-create the facebook tagging functionality, where you click on an image and the part of the image you click on displays an empty box (or a square).

Using jQuery, how do I make the box appear around my cursor on the click?

Thanks

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about css