alvarotrigo / pagePiling.js

pagePiling plugin by Alvaro Trigo. Create a scrolling pile of sections. http://alvarotrigo.com/pagePiling/
4.1k stars 653 forks source link

Scroll to an element inside a section #216

Open siddhijagtap opened 3 years ago

siddhijagtap commented 3 years ago

Hello Alvaro, I need the page to scroll to an element in a form which is inside a Contact Us section. This would happen on the click of a button which is in a completely different section. Is there a way to accomplish that? Thanks.

jucajuca commented 3 years ago

I would be also interested to implement this. For the moment, I think I will use another js library to scroll after the pagepilling script is done. I am curious if there is another solution for this.

alvarotrigo commented 3 years ago

The closest solution is this: https://github.com/alvarotrigo/pagePiling.js#creating-a-scrollable-section

But I would encourage you guys to move to fullPage.js library, which I also developed and its maintained more often.

fullPage.js provides scrollable sections and that might be the solution for some of your problems. An additionally, you'll get a much more mature library with plenty of more options, extensions and capabilities.