Skip to content

Ruby gem for scrollify jquery plugin, assists scrolling and snaps to sections. Touch optimised.

License

Notifications You must be signed in to change notification settings

rahullakhaney/scrollify

Repository files navigation

Scrollify

Gem Version

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

Installation

Find it on rubygems.org

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.

About

Ruby gem for scrollify jquery plugin, assists scrolling and snaps to sections. Touch optimised.

Resources

License

Stars

Watchers

Forks

Packages

No packages published