Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

automatically scroll to bottom of page javascript


setInterval(function(){ 
	$('html, body').animate({ scrollTop: $(document).height() - $(window).height() }, 1500, function() {
	 $(this).animate({ scrollTop: 0 }, 1500);
});
}, 2000);//run this thang every 2 seconds
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #automatically #scroll #bottom #page #javascript
ADD COMMENT
Topic
Name
5+1 =