Help with Magic Bar navigation on fullpage scroll

github logo ・1 min read

I'm trying to get this navigation bar feature to work when scrolling between fullpage.js divs. I have gotten it to a point where it moves when hovering over other links and stays when those links are clicked, but when I scoll to another fullpage section, it doesn't move. I'm trying to figure out what code I should put in the onScroll fullpage.js hook. Any help would be appreciated!!

Fix: I think I fixed it, I'll post the solution later today.

twitter logo DISCUSS
Classic DEV Post from Jul 5

What's one thing you wish you knew before you started programming?

jcbbuller profile image
I'm a novice web designer who is working on getting better at javascript and jquery development.