In short, there is such a block

<div class="image" id="img"></div> 

It loads img from the file.

The bottom line is how, for example, when clicking on .next to go through img, hide everything and show one

    1 answer 1

     $('#img').find('img').hide().eq(тут номер которого нужно показать).show(); 
    • Well, how can you somehow determine the max number of photos, or does it need to be done differently then? - jashka 5:53 pm