0

someone who can help me with a scroll effect? simple , nice and easy to understand

28th Jun 2016, 7:28 PM
Laurentiu Amzarescu
Laurentiu Amzarescu - avatar
3 Antworten
+ 1
use the window.scrollTo method. The syntax works like this.... window.scrollTo(coordinate, coordinate) such as.... window.scrollTo(250, 50)
30th Jun 2016, 3:57 AM
Cocoa
Cocoa - avatar
+ 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!
30th Jun 2016, 4:01 AM
Cocoa
Cocoa - avatar
0
thanks !
30th Jun 2016, 6:24 AM
Laurentiu Amzarescu
Laurentiu Amzarescu - avatar