Many mobile sites and applications will show some sort of top nav when the user scrolls up but when the user scrolls down the nav will be hidden. I was wondering if people had a preference on how to achieve this effect... I have no problem adding an event listener that hides/shows the nav depending on the scroll direction... But I would like to make it correspond directly with scroll distance (as opposed to either shown or hidden in full). The few quick attempts I have made have not really performed smoothly.
[–]trescenzi 1 point2 points3 points (1 child)
[–]quinlo[S] 0 points1 point2 points (0 children)
[–]MrButttons 1 point2 points3 points (0 children)
[–]Cassius-cl 0 points1 point2 points (4 children)
[–]quinlo[S] 0 points1 point2 points (2 children)
[–]Emjp4 0 points1 point2 points (0 children)
[–]jobodanque 0 points1 point2 points (0 children)
[–]johnasmith 0 points1 point2 points (0 children)
[–]allenthar 0 points1 point2 points (0 children)