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

Scroll to an element inside a section #216

Open
siddhijagtap opened this issue Jan 6, 2021 · 2 comments
Open

Scroll to an element inside a section #216

siddhijagtap opened this issue Jan 6, 2021 · 2 comments
Labels

Comments

@siddhijagtap
Copy link

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
Copy link

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
Copy link
Owner

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.

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

No branches or pull requests

3 participants