javascript - Sticky header with next and previous button -


i'm trying build sticky header next , previous button in site. there no sticky section when user scrolls down menu hides hamburger menu , sticky element comes up. on further scrolling sub section titles features, contact us, etc... updated .also we can goto next , previous section shown in image.

so, how build or there plugin can make use of? thank you.

sticky things

sticky sections can achieved using combination of regular html, regular css , javascript plugin like sticky.js here. using can use js attach css class html sections when visitor scrolling. can style cssaccordingly display / or hide sections of page on scroll , thereby override / rewrite original positioning.

previous , next

to achieve previous , next button link manually using html - quite work. if dynamically linke site content should have @ static site generators octopress, or jekyll - or consider using cms wordpress.

edit: if mean "jumping" , down 1 section of site can @ html anchor links

i have done sticky header , previous / next button in footer website using jekyll manual modifications. can have @ my blog on github see how solved it.

besides not easy there not default solution trying do. depends on constraints, preferences , skills.


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -