0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
fd-slider is an unobtrusive javascript to enable the <input type='range'> HTML5 form controls in old browsers. This gem packages that script up as a Rails 3 Engine.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Runtime

~> 3.1
 Project Readme

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.

github.com/freqdec/fd-slider