forked from DAddYE/lightbox
-
Notifications
You must be signed in to change notification settings - Fork 0
ThickBox Helper is a small helper that automatizes the process for including ThickBoxes for Ruby on Rails sites.
License
trevmex/thickbox
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
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 also add this stylesheet to your view (in the header): <%= stylesheet_link_tag 'thickbox' %> It is very simple to add a ThickBox in your page: <%= thickbox_link_to "Link Name", "/path/of/your/image.png" %> or <%= thickbox_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, etc. because it is based on image_tag and link_to.
About
ThickBox Helper is a small helper that automatizes the process for including ThickBoxes for Ruby on Rails sites.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- JavaScript 98.6%
- Ruby 1.4%