Scroll Related

scroll

 

 

 

 

 

 

 

 

 

	$(window).scroll(function(){
		console.log('Document Height:' + $(document).height());
		console.log('Window Height:' + $(window).height());
		console.log('Scroll Top:' + $(window).scrollTop());

		if(($(window).height() + $(window).scrollTop()) == $(document).height()){
			console.log('at bottom');
		}
	});