January 25, 2016, 9:32am
I want navbar position to be originally lower on screen and stick to the top of the browser when scrolled up, like this example
I tried to do that with Hype but it’s works basically only once and after that the element sticks permanently on the top of the browser.
sticky navbar sample.zip (49.7 KB)
January 25, 2016, 11:10am
this is it!
stickyNav.hype.zip (101,2 KB)
January 25, 2016, 1:39pm
Thank you for your answer, but your solution don’t work in the phone the menu disappear when scrolling and appear when scrolling stops
April 10, 2016, 9:19pm
I have this working and added the code to another menu on another scene.
I use id menu2 and duplicate the code.
It works fine on normal transitions but when I swap it ‘kills’ the sticky.
Any ideas please.
Also is it possible to make this work across all menus with out to add the event to each one. ?
The Menu must be a persistent symbol
July 3, 2017, 7:15pm
disregard … found it …(sorry) thanks
January 10, 2022, 5:10pm
Is it possible to make the navigation menu always at the bottom of the viewport, regardless of the mobile gadget and its viewport. When scrolling, it moved to the very top and then again when scrolling down to the same position at the bottom of the viewport.
January 11, 2022, 3:28am
Possible with code - sure, but this seems like it would be horribly confusing..? Why not just keep it at a specific spot if it will always be visible?