|
Thanks for your answer.
So you are saying the problem is in the script, in the way it calculates the absolute offset of the image (which has no border etc... itself) from the Top and the Left, using offsetTop() and offsetLeft()?
From javascript.com:
offsetTop: gets the vertical offset position of the current element relative to its offset container
offsetLeft: gets the horizontal offset position of the current element relative to its offset container
The function is called as xy = objabs(IMG);
Last edited by css; 01-31-2010 at 05:52 PM..
|