A ruby gem for scrollify plugin developed by Luke Haas. A jQuery plugin that assists scrolling and snaps to sections. Touch optimised.
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
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>
Visit the official plugin github page for more details on customications
Bug reports and pull requests are welcome on GitHub at https://github.com/rahullakhaney/scrollify.
The gem is available as open source under the terms of the MIT License.