This has been a few months in the making as Im pretty weak with JS and new to GSAP. I bit off a bit more than I can chew as the client kept requesting different ways to navigate the page.
So I have created a horizontal page with multiple ways to navigate :
I had started to use this - updateProxy() - when I found something similar in this codepen:
But I cant find the original thread where it was pointed out and Im struggling to understand precisely what it is doing and how I should go about making it all work together.
The only other big issue is whether or not Step 5
//STEP 5 - wait till all scroll updates have taken place and then correct the scrubber visually
is the best way to update the scrollbar. Its pretty clunky as it has to wait till everything finishes but I thought if I had it running while scrolling I would get into trouble with the scrubber getting into an infinite loop.
I've tried not to waste the communities time by asking silly questions but I'm out of my depth on this one!
Any help would be hugely appreciated