Scroll event

Page: 1

Author Post
Member
Registered: Feb 2013
Posts: 30
Dear Admin,

is there any supported way to bind an scroll-top or bottom function to an fb.start() object, for ajax added content when user scrolls to bottom?

like in jquery within the std viewport:
$(window).scroll(function() {
if($(window).scrollTop() == $(document).height() - $(window).height()) {
// ajax call get data from server and append to the div
}
}


thanks and merry christmas,
wolfgang
Administrator
Registered: Aug 2008
Posts: 3382
Please check out this example.
View source for implementation details.
Ask any questions if something needs further explication.
Let me know if I missed the target.

Cheers...
Member
Registered: Feb 2013
Posts: 30
Dear Admin,
many thanks, thats exact what i was looking for.
cheers,
Wolfgang

Page: 1