Advertisement
Guest User

Untitled

a guest
Dec 9th, 2016
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. window.scrollTo(10,10);
  2.  
  3. $('body').stop().animate({scrollTop:1000},'slow');
  4.  
  5. $('html').stop().animate({scrollTop:1000},'slow');
  6.  
  7. setTimeout(function(){
  8. window.scrollTo(10,10);
  9. }, 3000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement