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

Cancelling the move before it takes place #152

Open
rtemred opened this issue May 5, 2018 · 5 comments
Open

Cancelling the move before it takes place #152

rtemred opened this issue May 5, 2018 · 5 comments
Labels

Comments

@rtemred
Copy link

@rtemred rtemred commented May 5, 2018

Feature to cancel the move, as in fullpage.js by returning false on the onLeave callback.

@alvarotrigo

This comment has been minimized.

Copy link
Owner

@alvarotrigo alvarotrigo commented May 5, 2018

I would encourage you to make use of fullPage.js instead.
Just use the parallax extension with offset 100% and place the content in the fp-bg element. You'll get exactly the same result as in pagePiling plus you'll have all the features of fullPage.js.

I'll mark it as an enhancement, but pagePiling.js is not under often development. I'll probably turn it into a fullpage.js extension. Makes it easier to maintain.

@alvarotrigo

This comment has been minimized.

Copy link
Owner

@alvarotrigo alvarotrigo commented May 5, 2018

See my blog post here to get a similar result with fullpage.js:
https://alvarotrigo.com/blog/how-create-tumblr-website-effect/

@rtemred

This comment has been minimized.

Copy link
Author

@rtemred rtemred commented May 5, 2018

I use pagePilling, because I need a scrollable section.

@alvarotrigo

This comment has been minimized.

Copy link
Owner

@alvarotrigo alvarotrigo commented May 5, 2018

@rtemred fullpage.js provides that too. Using scrolloverflow as in this example.

@rtemred

This comment has been minimized.

Copy link
Author

@rtemred rtemred commented May 5, 2018

@alvarotrigo oh... my bad. Thanks! I'll check it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.