Response title
This is preview!
// check if an update is needed
var isTimeToUpdate = function () {
var container = $(element).offset().top + $(element).height() - $(document).height();
var scroll = $(document).scrollTop();
return scroll > container; }
© 2013 jQuery Foundation
Sponsored by and others.