Smooth Scrolling

Categories

Component ID

2349477

Component name

Smooth Scrolling

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

This module applies smooth scroll jQuery snippet to all anchor links that have the specified element set and allows you to specify an offset and a scrolling speed. Example effect: http://css-tricks.com/examples/SmoothPageScroll/

Browser Requirements

  • JavaScript enabled
  • jQuery support

Installation Instructions

  • Add module to your website's modules directory
  • Enable the module at /admin/modules
  • Add destination anchors to links such as Main content
  • That's it!

Quick demo of behavior: https://www.youtube.com/watch?v=qnGFAKJBSxw

This great is for one pager websites, and sitebuilders who have no
knowledge of js or just want to build their site up quickly and use this effect.

By using the Smooth Scroll module the effect is applied to all anchor links
on your Drupal setup. http://css-tricks.com/snippets/jquery/smooth-scrolling/

You can set the configurations for the module in config/user-interface/smooth-scrolling.