Created
June 9, 2015 14:00
-
-
Save Quinten/791e49ba46423fb6cbb5 to your computer and use it in GitHub Desktop.
smooth scroll script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var scrollVal = 0; | |
setInterval(function () { | |
scrollVal += 3; | |
jQuery('body').scrollTop(scrollVal); | |
},17); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Simple script to paste in the browser's console to simulate scrolling. Usefull when you want to capture the page in a Quicktime movie...