knack
JavaScript Image Gallery DEMO
#Installation
Add images + css file from knack/assets/stylesheets
+ knack.js library to your project;
#Usage
All you need to do is add div tag with 'projector' id and init it after loading page ended by jquery knack function. See example below.
<div class='place-for-projector'> <div id='projector'></div> </div> $(window).load(function(){ var images = [ /*['image-url', 'image-info']*/ ['assets/images/hot-rod-style.jpg', '2 hot-rod-style'], ['assets/images/hot-rod-style.jpg'] ]; $('#projector').knack({data: images}); });
Enjoy!
Ruby on Rails gem knack-rails
If you have questions or found a bug? Tweet at me