Quote:
Originally Posted by dgatwood
I suspect (but am not certain) that the solution is to watch for scroll events, check document.documentElement.scrollTop against the position of the element you care about, and then trigger your animation if the element is on the screen at the end of the scroll event.
Worth a try, anyway.
|
Thank you for suggestion, I'll try soon. I have only a question: why scroll events? Ebook hasn't scroll...
f.