Hi, I have a html image in one page like this GetInfo() is javascript function. How i can get image's Location in javascript function? (Compatible with Firefox) thanks.
Hi, I have a html image in one page like this GetInfo() is javascript function. How i can get image's Location in javascript function? (Compatible with Firefox) thanks.
I found my solution : function GetInfo(img) { SRC=img.src HEIGHT=img.offsetHeight; WIDTH=img.offsetWidth; TopLocation=img.offsetTop; LeftLocation=img.offsetLeft; }