Last active
December 19, 2015 12:28
-
-
Save cmpolis/5954639 to your computer and use it in GitHub Desktop.
scrollIt.js Options
This file contains 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
$.scrollIt({ | |
upKey: 38, // key code to navigate to the next section | |
downKey: 40, // key code to navigate to the previous section | |
easing: 'linear', // the easing function for animation | |
scrollTime: 600, // how long (in ms) the animation takes | |
activeClass: 'active', // class given to the active nav element | |
onPageChange: null, // function(pageIndex) that is called when page is changed | |
topOffset: 0 // offste (in px) for fixed top navigation | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment