Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Continuous vertical scrolling #221

Merged
merged 8 commits into from
Feb 9, 2014
Merged

Continuous vertical scrolling #221

merged 8 commits into from
Feb 9, 2014

Conversation

mlhDevelopment
Copy link
Contributor

Added the ability to have the scrolling appear to be continuous - when you are at the last section and scroll down, the animation will continue downward but you will end up on the first section. It is similar when you are on the first section - scrolling up will cause the animation to continue upward but you will end up on the last section. Navigation is updated and hashes are maintained. This feature is very similar to the loopTop and loopBottom features but is targeted to make the end of a scroll (when there are many sections) not as jarring.

Clicking on a navigation dot, or navigating to an anchor directly, will use the normal animation: scroll up if the section is a prior one, scroll down if the animation is a later one.

And, just to be clear, this does not add horizontal scrolling (i.e. this is not a solution for issue 124).

Added continuousVertical option for continuous vertical scrolling
Added CSS3 and Continuous demo pages
Updated other demo pages to include links to CSS3 and Continuous demo
pages
@alvarotrigo
Copy link
Owner

Fist of all thanks for the contribution! Looks great!

@alvarotrigo
Copy link
Owner

I believe it's a great job! Once applied the changes, if you consider them an improvement, I will merge it.

@mlhDevelopment
Copy link
Contributor Author

Yes, those simplify things. I have committed those - did they get updated with the pull request?

@alvarotrigo
Copy link
Owner

Yeah. Everything is all right :) Thanks!

alvarotrigo added a commit that referenced this pull request Feb 9, 2014
-Added new feature: continuous vertical scrolling by using the option `continuousVertical`
@alvarotrigo alvarotrigo merged commit 02746ef into alvarotrigo:master Feb 9, 2014
alvarotrigo added a commit that referenced this pull request Feb 11, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants