jquery-colorbox-rails

Gem Version

jquery-colorbox-rails integrates jquery.colorbox with rails 3.1+ asset pipeline.

Colorbox version: 1.6.4

Installation

Add

gem 'jquery-colorbox-rails'

to your Gemfile

and

//= require jquery.colorbox

to your app/assets/javascripts/application.js or other js manifest file.

For i18n integration (e.g. pl language) also add:

//= require jquery.colorbox-pl

To use one of attached css examples add:

*= require jquery.colorbox-example1

to your css manifest file. There are 5 examples availables (example1, example2...and so on).