DonSchado / Flexslider-2-Rails-Gem

Rails wrapper for the Flexslider 2 jQuery carousel by WooThemes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flexslider 2 Rails Gem

Flexslider 2 by Woo Themes - https://github.com/woothemes/FlexSlider

Installation

Add this line to your application's Gemfile:

gem 'flexslider'

Alternatively, you can get it from Github

gem 'flexslider', :git => 'https://github.com/constantm/Flexslider-2-Rails-Gem.git'

And then execute:

$ bundle install

Usage

Flexslider 2 is dependant on jQuery, so make sure you have it in your Gemfile.

//= require jquery

Add to your app/assets/javascripts/application.js

//= require jquery.flexslider

Or for the minified version

//= require jquery.flexslider-min

And to your app/assets/stylesheets/application.css

*= require flexslider.css

Documentation

Usage documentation as well as demos can be found at:

https://github.com/woothemes/FlexSlider http://www.woothemes.com/flexslider/

About

Rails wrapper for the Flexslider 2 jQuery carousel by WooThemes

License:MIT License


Languages

Language:Ruby 100.0%