Skip to content

castequality/lightboxjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LightboxJs

This is a rails gem for Lightbox. Lightbox is a simple, unobtrusive script used to overlay images on top of the current page. It's a snap to setup and works on all modern browsers. The gem uses the forked version from https://github.com/OutPunk/lightbox2

Installation

Add this line to your application's Gemfile:

gem 'lightboxjs'

And then execute:

$ bundle

Usage

Include lightbox script for example, in application.js.coffee

#= require lightbox

Include lightbox styles for example, in application.css.scss

//= require lightbox

Use lightbox by it's instructions — http://lokeshdhakar.com/projects/lightbox2/

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages