• This repository has been archived on 15/Jun/2022
  • Stars
    star
    340
  • Rank 124,317 (Top 3 %)
  • Language
    HTML
  • Created almost 11 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Does your site have a sticky header? You should use this script to fix keyboard-based pagination events.

The Sticky Pagination Fixer Has Been Archived

Why?

It uses javascript to do a job that can now be handled purely through CSS.

How?

Like this:

html {
	scroll-padding-top: foo; /* set this to a value that matches the height of your sticky header */
}

This is supported by all modern browsers, with the exception of IE11, which (at the time of this writing) is about to hit its end of life,