Today I prototyped a sticky navbar and I have assembled instructions on how to do so using conditional statements with Axure.
This video shows what the final product will look like. Note that when the window scrolls down, the navbar moves from below the header to the top of the window and remains there throughout the scrolling of the page. Also note that as the window scrolls, the navbar menu items activate.
Here are the steps: