find the top left first first visible element in wiew port using jquery
<p>I am displaying an ebook in a webpage and would like to be able to create a bookmark inside the document. For this A would like to find the first visible element in the viewport and use it as bookmark. What is the way to achieve this using jquery or plain javascript?</p>
