pagePiling.js icon indicating copy to clipboard operation
pagePiling.js copied to clipboard

Cancelling the move before it takes place

Open rtemision opened this issue 6 years ago • 5 comments

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

rtemision avatar May 05 '18 17:05 rtemision

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 avatar May 05 '18 18:05 alvarotrigo

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

alvarotrigo avatar May 05 '18 18:05 alvarotrigo

I use pagePilling, because I need a scrollable section.

rtemision avatar May 05 '18 18:05 rtemision

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

alvarotrigo avatar May 05 '18 18:05 alvarotrigo

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

rtemision avatar May 05 '18 18:05 rtemision