+ 1

How i can scroll each section in separete parts ?

https://code.sololearn.com/WykGZmAim3oc/?ref=app

13th Jun 2021, 11:33 PM
Héctor ORTIZ
16 Antworten
+ 1
Hi Insomnio L Do you mean something like a parallax effect?
14th Jun 2021, 2:25 AM
Ollie Q
Ollie Q - avatar
+ 3
Try this <style> html { scroll-behavior: smooth; }</style> https://code.sololearn.com/WcYC29S75Rh0/?ref=app
15th Jun 2021, 6:30 PM
Chris Coder
Chris Coder - avatar
+ 1
smooth scroll using JS and your links (I didn't notice them the first time, as well not seeing your smooth scroll requirement ;P) https://code.sololearn.com/WLghY2u82d7f/?ref=app
14th Jun 2021, 7:25 AM
visph
visph - avatar
0
No
14th Jun 2021, 2:26 AM
Héctor ORTIZ
0
I mean to scroll
14th Jun 2021, 2:27 AM
Héctor ORTIZ
0
I think that is with a position
14th Jun 2021, 2:27 AM
Héctor ORTIZ
0
I’m still confused by what effect you want. Could you describe it or post a link to a website that shows the effect?
14th Jun 2021, 2:28 AM
Ollie Q
Ollie Q - avatar
0
It is not a effect
14th Jun 2021, 2:29 AM
Héctor ORTIZ
0
I only want to scroll
14th Jun 2021, 2:29 AM
Héctor ORTIZ
0
I want to scroll only 1 class
14th Jun 2021, 2:30 AM
Héctor ORTIZ
0
Wait so when you click the links you want it to scroll to it rather than jump?
14th Jun 2021, 2:32 AM
Ollie Q
Ollie Q - avatar
0
Yes
14th Jun 2021, 2:32 AM
Héctor ORTIZ
0
When i click the links i want to scroll only the class of the link where i am
14th Jun 2021, 2:33 AM
Héctor ORTIZ
0
This might help you although you will need javascript. Sorry i can’t help you more as iphone browser (safari) doesn’t support scrool options. :( https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView
14th Jun 2021, 3:22 AM
Ollie Q
Ollie Q - avatar
0
Superb
14th Jun 2021, 5:35 AM
Derek Lo
Derek Lo - avatar