-2

I want to implement smooth scrolling on my web page. I'm not sure how to do it, either by overriding normal mouse scrolling or maybe there's another way. What I want to achieve is shown e.g. here. Try to scroll through the page.

Mark
  • 2,380
  • 11
  • 29
  • 49
randomuser2
  • 107
  • 10
  • 1
    What is so special about that page? It seems to scroll just like any other page. Must be something firefox does automatically. – Jonathan Kuhn Apr 13 '15 at 20:45
  • Yeah by me also this page has no special smooth scrolling. You can catch the scrolling event with jquery and then animate your container's top offset. You should achieve some smooth scrolling. – AdamM Apr 13 '15 at 20:51
  • Grammar and tag in title – Mark Apr 13 '15 at 22:22

1 Answers1

2

The site you mention is using this plugin for smooth scrolling: https://gist.github.com/rennan/5ec8a11302d45cd757e8

If you want the same scrolling results, I recommend using the same plugin instead of building your own version.

Daniel Falabella
  • 578
  • 4
  • 13