Pagination ordered by ID

1

I have this system as a menu

HowcanIgetthemtopasstheproductsandreturnthemthroughtheIDsavedinthebank?

<nav class="slider__nav">
<button class="button button--nav-prev"><i class="icon icon--arrow-left"></i><span class="text-hidden">Prev</span></button>
<button class="button button--zoom"><i class="icon icon--zoom"></i><span class="text-hidden">View</span></button>
<button class="button button--nav-next"><i class="icon icon--arrow-right"></i><span class="text-hidden">Next</span></button>
</nav>

If I click Next it shows me 2 and so on. And go back if Prev is selected.

    
asked by anonymous 02.09.2017 / 23:47

0 answers