Hi there!

I found a very useful script-snippet for endless scrolling. It loads
new content via AJAX when the page is near the bottom of the page. My
knowledge about JavaScript and Prototype is pretty good actually, but
I always had problems with all the measurement stuff.

Here's the line of code:

var nearBottomOfPage = $(window).scrollTop() > $(document).height() - $
(window).height() - 200;

How could I get that working with Prototype?

Thank you very much!

You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to