Add the following line to your Gemfile :
gem 'rambling-slider-rails'
And proceed to run:
bundle install
After the installation is complete, you can include the jQuery Rambling Slider on the application.jswith:
//= require jquery //= require jquery.rambling.slider
And the slider's styles on the application.css with:
/* *= require jquery.rambling.slider */
You can also include the slider on a specific page with the javascript_include_tag and thestylesheet_link_tag like this:
= javascript_include_tag 'jquery.rambling.slider' = stylesheet_link_tag 'jquery.rambling.slider'
Remember to initialize the jQuery Rambling Slider with:
$(function() { $('#sliderId').ramblingSlider(); });
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/d996d453-5e99-4e50-b584-fbd05dbd1c0a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.