parallax.js Gem
Installation
Add this line to your application's Gemfile:
gem 'parallax-rails'
And then execute:
$ bundle install
Usage
Add to your app/assets/javascripts/application.js
//= require parallax
//= require jquery.parallax
Documentation
Usage documentation as well as demos can be found at:
http://matthew.wagerfield.com/parallax/
https://github.com/wagerfield/parallax
Contributing
- Fork it ( https://github.com/twoweb/parallax-rails/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request