How do i find the offset value of an image, which is enclosed with in a table. The table consist of lot of images. i want to get the offset - left, right, top, bottom for all th
I wrote a little plugin that does just this.
It gets the position of the element that you want; left, right, top or bottom; relative to it's parent or to the HTML document.
You can find it on my github: https://github.com/Ridle/jQuery-getOffsets