script.aculo.us Slider plugin

Plugin details

This plugin provides helpers for the script.aculo.us slider control.

Repositoryhttp://dev.rubyonrails.org/svn/rails/plugins/scriptaculous_slider/ Author Marty Haught, Thomas Fuchs Tags Javascript LicenseMIT

Documentation

Install the plugin:
ruby script/plugin install http://dev.rubyonrails.org/svn/rails/plugins/scriptaculous_slider/

You need to run:

rake scriptaculous_slider_install


to install the necessary slider.js file in your public/javascripts folder.

Example:

<%= 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 script.aculo.us SVN trunk, see http://wiki.script.aculo.us/scriptaculous/show/Versions.

Further Documentation

Edit plugin | (0 older versions) | Last edited by: maxim_kulkin, over 4 years ago

Plugin Search

Sponsors