Oct 15, 2001 #1 Toyman Programmer Jun 19, 2001 68 GB Hi How would I get the coordinates of the mouse when I click on an Image within the <IMG> tag. Thanks Toyman
Hi How would I get the coordinates of the mouse when I click on an Image within the <IMG> tag. Thanks Toyman
Oct 15, 2001 #2 cbokowski Programmer Oct 3, 2001 413 US If you name your image, then serverside you can request("name.x" for the x coordinate or request("name.y" for the y coordinate. hth, Corey Upvote 0 Downvote
If you name your image, then serverside you can request("name.x" for the x coordinate or request("name.y" for the y coordinate. hth, Corey
Oct 15, 2001 Thread starter #3 Toyman Programmer Jun 19, 2001 68 GB Thanks Corey for the reply, but I can't get it to work. This is my code...what Am I doing wrong ? <IMG NAME="THEMAP" SRC="samapii.gif" width="445" height="400" USEMAP="#SAMAP" OnClick Response.Write Request("THEMAP.X"> Carel Upvote 0 Downvote
Thanks Corey for the reply, but I can't get it to work. This is my code...what Am I doing wrong ? <IMG NAME="THEMAP" SRC="samapii.gif" width="445" height="400" USEMAP="#SAMAP" OnClick Response.Write Request("THEMAP.X"> Carel
Oct 16, 2001 #4 cbokowski Programmer Oct 3, 2001 413 US The code I gave is server side. check this link. http://www.codelifter.com/main/javascript/capturemouseposition1.html Corey Upvote 0 Downvote
The code I gave is server side. check this link. http://www.codelifter.com/main/javascript/capturemouseposition1.html Corey