Thursday, March 01, 2012

element.offsetLeft - MDN

element.offsetLeft - MDN: "Summary

Returns the number of pixels that the upper left corner of the current element is offset to the left within the offsetParent node.

Syntax

left = element.offsetLeft;"

'via Blog this'