Is it possible with JavaScript to get the position of a div relative to window without using scrollTop()?
I have seen examples of doing this by getting the absolute with offset() and comparing that to scrollTop().
But, I want to do this during scrolling on iPad, where scrollTop is first set after scroll completed. So, can I somehow get the position in an other way?
For
iPadusewindow.pageYOffsetto getscrollTopand use your normal logic it should work fine.