Sticky Navigation Scrolling JS Code Hype 3 pro


(Evinn) #1

Hi All,

Im relatively new to hype and have been searching the forums for the answer to this, but have failed. I would love to get a simple answer.

Im trying to create a user scrolled prototype, and cant figure out how to execute a sticky navigation.

I want to be able to freely scroll a page that is longer than the viewport, while maintaining a navigation in the same place. AS well as switch from scene to scene and have the navigation scroll as well.

Think any website that has a sticky navigation at the top.

If there is a JS function that i can just plug in to my pasted jpg, that would be super helpful.

I hope im explaining it right.

Ive attached a file for referencetest.hype.zip (108.4 KB)


(Greg) #2

Try searching for “position fixed”.