jquery offset code example
Example 1: jquery offsetheight
//The offsetHeight property includes the vertical padding and borders in the height calculation, therefore
//the .outerHeight() method would be the jQuery equivalent to offsetheight.
$('.site-header').outerHeight();
Example 2: jquery get left position
var position = p.position();
var left = position.left; '<-- left value for p