Skip to content
This repository was archived by the owner on Jan 5, 2022. It is now read-only.
/ lightbox Public archive
forked from DAddYE/lightbox

LightBox Helper is a small but beautifull helper that automatize the process for include LightBox on our pages.

License

Notifications You must be signed in to change notification settings

peammm/lightbox

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ThickBoxObject v.1.0

This will add a helper for thickboxes in Rails. (It is a fork of Lipsiasoft/lightbox) It is a work in progress, though. So please be patience.

<%= javascript_include_tag :defaults %>

You must add also the stylesheet so add this on your page head:

<%= stylesheet_link_tag 'lightbox' %>

The is very simple for add a LightBox in your page add this:

<%= lightbox_link_to "Link Name", "/path/of/your/image.png" %>

OR

<%= lightbox_image_tag("/path/of/your/image-thumb.png", "/path/of/your/image.png", {:class=>"images"}, :title => "This is a test!") %>

You can add, title, controller, action what do u whant becaue it's based on image_tag and link_to.

Vist my website: http://blog.lipsiasoft.com

About

LightBox Helper is a small but beautifull helper that automatize the process for include LightBox on our pages.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 82.1%
  • Ruby 12.0%
  • CSS 5.9%