[Proto-Scripty] Re: Bottomless scroll

2011-05-24 Thread kstubs
I have something working, but seems that the fetch routine is firing too soon, so I wonder if I'm using viewportOffset and getScrollOffset incorrectly. var item = this.layer.select('div.content_item').last(); var vp_top = item.viewportOffset()['top']; var item_top = docum

[Proto-Scripty] Re: Bottomless scroll

2011-05-24 Thread Julien Lenne
Hello, You could take a look at scrollTop and scrollHeight attributes maybe. Details here : http://www.w3schools.com/jsref/dom_obj_all.asp Regards, Julien. On May 24, 7:57 am, kstubs wrote: > Any ideas how to implement a bottomless scroll?  I have an events page, > dates descending from today t