Skip to content

WheelhouseCMS/wheelhouse-fancybox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fancybox Plugin for Wheelhouse CMS

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

Installation & Usage

1. Add wheelhouse-fancybox to your Gemfile:

gem "wheelhouse-fancybox"

Then run bundle install.

2. Include the helper in your template:

<%= link image("thumbnail-1.jpg"), image_path("large-1.jpg"), :rel => "fancybox" %>
<%= link image("thumbnail-2.jpg"), image_path("large-2.jpg"), :rel => "fancybox" %>
<%= link image("thumbnail-3.jpg"), image_path("large-3.jpg"), :rel => "fancybox" %>

<%= fancybox("a[rel='fancybox']", "titleShow" => false) %> 

About

Fancybox support for Wheelhouse CMS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages