Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
32 lines (20 sloc) 941 Bytes Slider
This plugin provides helpers for the slider control.
You need to run:
rake scriptaculous_slider_install
to install the necessary slider.js file in your public/javascripts folder.
<%= slider_stylesheet %>
<%= slider_field :object, :method, :range => 1..10 %>
slider_field uses a hidden field internally that gets set automatically
when using the Slider.
slider_stylesheet builds a stylesheet for the slider (examine the output and
copy/paste to your own CSS files).
To see the full functionality and possibilities of the slider control,
have a look a the functional and unit tests provided in the
SVN trunk, see
For discussion of this plugin use the rails-spinoffs mailing list!
Copyright (c) 2005 Marty Haught, Thomas Fuchs, released under the MIT license