skullface/skullface.github.io

indicate which project you're viewing on scroll

Closed this issue · 1 comments

(Probably using Waypoints), add a class to each of the #projects_navigation links when they appear in the viewport. This will provide the viewer with more context as to their location while they scroll through the superlong homepage.

Hey, it works… 13e02e0 …! I know the code isn't the best way of doing things because I copy/pasted the block one time for each project, and that's never the best way of doing things. I realized defining each icon's color in its own class in the markup was also not ideal. I'll be replacing that CSS with a Sass map and hopefully wrangling some help to rewrite the JS. Even making it vanilla instead of jQuery dependent would be big help.