How to use Rambling Slider Rails

Dear all developers,
I want to use slideshow in my website. and i did a research rambling
slider
could use with rails.
but i don’t know how to use it. any one could help me.

thanks you,
veasna

Hi Veasna,

Try to this flow.

Installation

Add the following line to your Gemfile :

gem ‘rambling-slider-rails’

And proceed to run:

bundle install

Usage

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();});

On Tue, Jun 3, 2014 at 6:51 AM, Duong vong veasna
[email protected]

Thanks you so much daynthan kabilan

I will try it.

veasna.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs