Hopscotch is a framework for making product tours on web pages. This gem makes it easy to include the framework into a Rails app.
Add this line to your application's Gemfile:
gem 'hopscotch-rails'
And then execute:
$ bundle
Or install it yourself as:
$ gem install hopscotch-rails
Require the assets:
In app/assets/javascripts/application.js
:
//= require hopscotch
In app/assets/stylesheets/application.css
:
*= require hopscotch
- Fork it
- 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 new Pull Request