Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
The fd-slider JavaScripts packaged up for use with the Rails asset pipeline
branch: master
Failed to load latest commit information.
config
lib fix botched up missing files in gem
script Initial commit for assets-only Rails Engine
vendor/assets Add slider files, and update css file for asset_paths
.gitignore Initial commit for assets-only Rails Engine
Gemfile prepare for gem release
Gemfile.lock gemfile lock
MIT-LICENSE Initial commit for assets-only Rails Engine
README.rdoc Update README.rdoc
Rakefile prepare for gem release
fd-slider-rails.gemspec fix botched up missing files in gem

README.rdoc

FdSliderRails

A Rails Engine version of Frequency Decoders' Unobtrusive Accessible Slider.

I've packaged up the PNG-variant, because it seemed simpler.

Installation

In your Gemfile:

group :assets do
  # other stuff
  gem 'fd-slider-rails'
end

Usage

In your application.js:

//= require fd-slider.min

In your application.scss:

@include fd-slider

That's it. Now all your <input type="range"> controls should come to life in old browsers.

Related

github.com/freqdec/fd-slider

Something went wrong with that request. Please try again.