Here is the code snippet I am working with:
<div style="height:[Variable]px"></div>
<!--
or [one or several div and section elements, each with a variable height]
-->
<div class="Element" style="Position:relative">
<div class="Pin"></div>
</div>
I am trying to retrieve the vertical offset for the $('.pin')
object from the top of my web page. Any suggestions on how I can achieve this?