Hello all,
I have a question regarding timeline capabilities.
As with the codepen provided - a user is able to scroll and change colour of the text. Instead of having this dictated by user scroll, what I'd like is the following -
At 25% through the scroll timeline, trigger a function that changes the colour of first text
At 50% through the scroll timeline, trigger a function that changes the colour of second text
At 75% through the scroll timeline, trigger a function that changes the colour of third text
So instead of the duration being specified, a function is triggered at certain points which allows me to manipulate it further.
If anyone is able to point me in the right direct for that kind of thing I'd appreciate it.