Skip to content

WheelhouseCMS/wheelhouse-colorbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ColorBox Plugin for Wheelhouse CMS

This gem allows you to easily integrate the ColorBox lightbox into your Wheelhouse CMS templates.

Installation & Usage

1. Add wheelhouse-colorbox to your Gemfile:

gem "wheelhouse-colorbox"

Then run bundle install.

2. Include the ColorBox assets in your template:

<%= colorbox_assets %>

3. Invoke the ColorBox JavaScript:

<script type="text/javascript">
  $(function() {
    $('a.gallery').colorbox({ rel: 'gallery' });
  });
</script>

Releases

No releases published

Packages

No packages published

Languages