A simple image gallery plugin that can be used for most projects.
The idea behind this javascript gallery is to be extremely simple. Just a simple fade transition between the images and navigation enabled.
It's not depending on jQuery. Just vanilla javascript
There is a lot of gallery plugins, but I made this one for two reasons:
1. I needed jQuery independent plugin.
2. Create a real simple solution for projects that don't require a fancy gallery.
Feel free to use it in your projects; do whatever you want.
Please submit an issue, or should you have the solution; make a pull request please.
<div class="gallery__item">
<div class="gallery__picture_wrap">
<img class="gallery__picture" src="img/gallerys/gallery_thumb1.jpg" alt="gallery1" data-full-url="img/gallerys/gallery1.jpg" data-index="1">
</div>
</div> <!--gallery__item-end-->
<div class="gallery__item">
<div class="gallery__picture_wrap">
<img class="gallery__picture" src="img/gallerys/gallery_thumb2.jpg" alt="gallery2" data-full-url="img/gallerys/gallery2.jpg" data-index="2">
</div>
</div> <!--gallery__item-end-->
</div> <!--gallerys__wrap end-->
<link rel="stylesheet href="lg-simple-js-gallery.css">
Leonid Gaidarenko