Scrollify

A ruby gem for scrollify plugin developed by Luke Haas. A jQuery plugin that assists scrolling and snaps to sections. Touch optimised.

Installation

Add this line to your application's Gemfile:

gem 'scrollify'

And then execute:

$ bundle

Or install it yourself as:

$ gem install scrollify

Usage

To your application.js file, add:

//= require scrollify

This is all you need to get going with the scrolling and section snapping

<!doctype html>
    <html>
        <head>
            <script>
                $(function() {
                    $.scrollify({
                        section : "section",
                    });
                });
            </script>
        </head>
        <body>
            <section></section>
            <section></section>
        </body>
    </html>

Demo

Customizations

Visit the official plugin github page for more details on customications

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/rahullakhaney/scrollify.

License

The gem is available as open source under the terms of the MIT License.