Hi,
I am attempting to create a navigation menu that will update the scroll of the browser window and visa-versa. At the moment I am using a setInterval and setTimeout. When using the scroller manually, the page sometimes jumps and the update isn’t pixel perfect because it fires every millisecond. I’m wondering if there is a more elegant way of doing this so both the scroller and animation is updated at the same time. Perhaps a global variable? But I’m not sure.
Thanks, all
Scene attached.
navigation.zip (32.8 KB)