jquery get offset code example
Example: 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();