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

Re-enable Native Scrolling after Featured Section in Bookmark Mode #20

Closed
azkaiart opened this issue May 8, 2015 · 2 comments
Closed
Assignees

Comments

@azkaiart
Copy link

azkaiart commented May 8, 2015

Firstly, absolutely LOVE this plugin! Great work and thank you so much for sharing it with us.

The issue I have been trying to solve (but sadly, have a hard time moding the JS since I'm very novice) is to try to re-enable native scrolling after my last featured section--then un-enabling it as they scroll up back into the featured section.

I believe this would be a wonderful addition to the plugin--but was wondering if you knew of a work-around in the meantime?

Again, thanks so much--you all are a super team! :)

@ntan97
Copy link
Collaborator

ntan97 commented May 8, 2015

Thanks so much for the love for the plugin. It's much appreciated.

Currently the only portion of this plugin that re-enables to native scrolling is in the Featured Header scroll. I would recommend look at what we've written in there and that could lead you to an answer.

Start here on line 530 of the plugin: https://github.com/paper-leaf/alton/blob/master/assets/jquery.alton.js#L530 for the code, and to see how it all works http://demo.paper-leaf.com/alton/heroscroll/.

Here's another demo showing how it works:
http://colofts.ca/

Let me know if this helps at all.

@ntan97 ntan97 self-assigned this May 8, 2015
@azkaiart
Copy link
Author

Thanks! I did try, but my JS skills are very basic. But perhaps this is a good way for me to strengthen those skills. I'll take another look and see what I can customize.

Thanks again! :) 👍

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

No branches or pull requests

2 participants