Dynamic Vertical and Horizontal scrolling in page sections in GSAP Posted January 17 On 8/24/2022 at 7:14 PM, Cassie said: Heya! Not a silly thing, this stumped me for a bit too. So the end trigger is set as window.innerWidth * 3 - which is a specific number. So both end triggers are set at one specific point on the page. You want the end triggers to be relative to the start point of the image. At different points down the page. end: () => `+=${window.innerWidth * 3}`, Hope that helps! but when i tried this my website is over flowing in y direction . i can scroll to end without any problem. please help me to overcome this problem
Dynamic Vertical and Horizontal scrolling in page sections
in GSAP
Posted
but when i tried this my website is over flowing in y direction . i can scroll to end without any problem.
please help me to overcome this problem