3 ms·
> "3. Sticky Positioning" Yes but javascript can enhance a sticky top nav by watching the scroll position and updating the nav with whatever is intended by des
by exodust 5y ago
> "3. Sticky Positioning"
Yes but javascript can enhance a sticky top nav by watching the scroll position and updating the nav with whatever is intended by design, relative to the scroll position or direction. Such as hiding/showing or doing something else in response.
Even though it might still function as a basic nav without js, if I made a movie and found out people were watching it with "special effects turned off" it wouldn't be fun to learn that about the audience.
> "1. Animating SVGs"
Cool, but the more interesting animation possibilities are javascript driven. Like when using timing, waiting, chaining multiple animations, and responding to user interaction or other events. Need javascript for dynamic animation.