View Full Version : Please Help me!!

01-04-2004, 05:07 AM
I have been trying this stuff for the last few hours and I am not able to find the solution. Please do help me out.

I have created a image as seen in this page http://www21.brinkster.com/sashwin/survey/test.html The image can be moved by dragging on it. When you click on the image I get he X and Y co-ordinates but its wrong. Now, the user will move the image wherever he/she wants it to be placed in the browser window. I need to know the co-ordinates of the image as and when the image is dragged and dropped. Can anyone tell me as to how can I do this stuff.

Thnak you

01-04-2004, 06:05 AM
First, you're in violation of Rule #1 (http://www.codingforums.com/showthread.php?s=&threadid=2090). Secondly, you already posted about this exact same issue. If you need to, bump this one rather than creating a new thread.

Thirdly, I can't see anything on the page. Other than a Google ad at the very top, I can't see a darn thing. You might want to look into that.

... Oh wait... it's Internet Explorer-only. :rolleyes: Hang on...

It seems to be returning the correct X/Y values in relation to the inside of the box, and not the entire body of the document. Is this what you were expecting?

01-04-2004, 11:24 AM
I am sorry about that. I need to know the coordinates in relevant to the browser, I mean at what location is the image placed in the browser and as you said it is indicating the X and Y coordinates only within the image. How do I fix this???.

Thanks again