View Single Post
Old 09-27-2016, 08:28 AM   #9
fbrzvnrnd
Fanatic
fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.
 
Posts: 554
Karma: 400004
Join Date: Feb 2009
Device: ONYX M96
Quote:
Originally Posted by dgatwood View Post
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.
fbrzvnrnd is offline   Reply With Quote