https://github.com/guyisra/scrolltofixed_rails
https://github.com/guyisra/scrolltofixed_rails
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/guyisra/scrolltofixed_rails
- Owner: guyisra
- License: mit
- Created: 2013-09-05T13:16:34.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2014-04-23T19:25:28.000Z (about 12 years ago)
- Last Synced: 2025-07-28T14:46:05.178Z (11 months ago)
- Language: JavaScript
- Size: 152 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# ScrollToFixedRails
This is an asset pipeline wrapper for scrollToFixed.js (https://github.com/bigspotteddog/ScrollToFixed)
jQuery is needed
## Installation
Add this line to your application's Gemfile:
gem 'scrollToFixed_rails'
And then execute:
$ bundle
Or install it yourself as:
$ gem install scrollToFixed_rails
## Usage
add
//= require scrolltofixed
to application.js manifest
and see http://bigspotteddog.github.io/ScrollToFixed/ for demo
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request