jquery-simplegallery
v0.0.3
Published
Simple image gallery with abilities of sliding, rotation and downloading images. Simple to use. of For jquery.
Downloads
7
Maintainers
Readme
jquery.simplegallery
jQuery plugin for creating image galleries with capability of rotation
Plugin home page: documentation, example, getting started guide.
##Usage
- Simple image gallery has two dependencies: jquery and font-awesome. You need to attacch it to your page before attaching Simple image gallery.
- Download Simple image gallery from github or install via npm
npm install jquery-simplegallery
; attach it to your page. - Generate markup of image gallery like:
<div class="simple_img_gallery">
<a href="images/1.jpg"><img src="images/1.jpg" /></a>
<a href="images/2.jpg"><img src="images/2.jpg" /></a>
<a href="images/3.jpg"><img src="images/3.jpg" /></a>
<a href="images/4.jpg"><img src="images/4.jpg" /></a>
<a href="images/5.jpg"><img src="images/5.jpg" /></a>
</div>
- Initialize Simple image gallery using js:
$(function() {
$('.simple_img_gallery').createSimpleImgGallery();
});
##Build To compile Simple image gallery by yourself, first of make sure that you have Node.js and Grunt.js.
- Copy repository
https://github.com/Serganbus/jquery.simplegallery.git
- Now simply run
grunt
to generate JS and CSS in folderrelease
.
##Licencs Script is MIT licensed and free and will always be kept this way.