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

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

android - How to create dynamically Fragment pager adapter -

1111. appearing after print sequence - php -