2

I created simple image gallery and I'm looking for script or solution to make pagination for my images inside div's.

At first, it's my code.

CODEPEN.IO

My structure of gallery looks like this:

<div class="container">

 <div class="main-gallery">
  <div class="a-gallery">
   <div class="intem-gallery">
    <div class="image-gallery">
     IMAGE 
    </div>
   </div>
  </div>
 </div>

</div>

I found THIS jquery pagination script but it's works on different structure, like this.

<div class="parent">
 <div class="child">
  IMAGE
 </div>
</div>

So can this script handle it with my case or maybe someone have better solution because I need to keep eg. 4 images per site. I would like to have something that will work with my structure.

Lucas
  • 39
  • 1
  • 10

1 Answers1

0

look at this jQuery Pagination plugin or this one10+ jQuery Pagination Plugins. ist very easy to use. i hope it hepls

MKAD
  • 447
  • 2
  • 10
  • 1
    I used SimplePagination and works very good - [link](http://stackoverflow.com/a/33413200/7376288). Thanks for the help :) – Lucas Jan 31 '17 at 13:43