scriptaculous_slider

WARNING: this repo is not maintained anymore, if you want to maintain it, please send an mail to rails-core

Stars
18
Committers
1

script.aculo.us Slider

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

Installation:

You need to run:

rake scriptaculous_slider_install

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

Usage:

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.

For discussion of this plugin use the rails-spinoffs mailing list!

Copyright (c) 2005 Marty Haught, Thomas Fuchs, released under the MIT license