0
someone who can help me with a scroll effect? simple , nice and easy to understand
3 Answers
+ 1
use the window.scrollTo method. The syntax works like this....
window.scrollTo(coordinate, coordinate)
such as....
window.scrollTo(250, 50)
+ 1
I would also like to add that the first coordinate is the "x" or horizontal position and the second coordinate is the "y" or vertical position, hope I helped!
0
thanks !