Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).ready(function(){
- myfunction();
- });
- num = 0;
- function myfunction(){
- if(num == 1500)
- {
- num = 0;
- }
- setTimeout(function(){$('html, body').animate({scrollTop:num}, "normal")},3000);
- num = num + 500;
- myfunction();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement