No commit activity in last 3 years
No release in over 3 years
Automatically make same-page links scroll smoothly
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 4.0
 Project Readme

Installation

Rails programmer will have jquery-smooth-scroll plugin in asset pipeline when using this little shiny thang. Bling you scrolling!

There is no gem of this version bumping fork yet.

Rails 4

Add this to your project's Gemfile:

group :assets do
  #gem 'jquery-smooth-scroll-rails'
  gem 'jquery-smooth-scroll-rails', :git => 'git@github.com:gretel/jquery-smooth-scroll-rails.git'
end

Add this to application.js, possibly at app/assets/javascripts/application.js:

//= require jquery-smooth-scroll

For production you might need to re-precompile assets:

RAILS_ENV=production bundle exec rake assets:precompile

The actual usage is explained here.

Rails 3

Dunno if it works, sorry. Please report any issues.