Best method to stick a scrolling navbar to the top, and slide open a within-the-flow menu on click?
Greetings!
As a designer/coder (in that order) I'm rather excited to be nearing the completion of my first site in years. The help I've received from this forum's usual suspects made connecting the dots between the old methods and the new ones easier than they should've been.
The two items on my plate today are :
- Making a (horizontal, middle-of-the-screen) navbar stick to the top of the page once it's scrolled its way up there.
- When clicking "Menu" button, slide open a menu (either a vertical one that opens from the left side, pushing the rest of the design to the right -- or a horizontal one that opens under the navbar, filling 100% width and pushing the rest of the design lower down).
As usual when Googling these subjects, the returns are all over the place (many of them relying on technology that has since been made obsolete by newer tech) so I feel safer coming here and asking the pros what avenues or scripts they recommend taking in 2017 for these two missions.
Thanks!
