CSS or jQuery : How to get visible top : <p>I have a need to make a hidden div element shown in an user event, in the visible top. </p>

<p>What I  mean by visible top is,
- Its 0 if page is not scrolled
- if page is scrolled then I need coordinate of visible top, not the page top </p>

<p>Can that be set static with CSS or how to calculate it with jQuery or pure js.</p>

<p>Best Regards</p>
