in reply to (OT) Surely the Monks will know: correlating mouse (x,y) to DOM

Are you asking in a Perl forum how to get your client-side Javascript to pass the coordinates of a mouse click on an image map to your CGI program?

HTML & XHTML: The Definitive Guide sells new or used on Amazon starting around $9.60 USD. You can sell it back when you're done, for a net total of $1.60. Therein you'll find the answer to that question and a whole slew of others which would be equally off-topic here. I admit, it may be hard to find an HTML and Javascript site like PerlMonks is to Perl, but the scope of your question is a little out of place here.

The Javascript book would get you there too, but having recently re-read the HTML book I know the answers are inside. Even people who have virtually no interest in 'client side' stuff keep a copy of the HTML/XHTML book around for reference.


Dave

  • Comment on Re: (OT) Surely the Monks will know: correlating mouse (x,y) to DOM

Replies are listed 'Best First'.
Re^2: (OT) Surely the Monks will know: correlating mouse (x,y) to DOM
by yitzchak (Sexton) on Jun 28, 2011 at 02:06 UTC
    No, s/he is asking how to find what DOM element is at a given mouse position, a very different question.

      No, s/he is asking how to find what DOM element is at a given mouse position, a very different question.

      Same difference, thoroughly OT for perlmonks :) in any case, the Oracle knows the answer