How to write a merry-go-round in order to page in a circle, i.e. there was no end of the carousel? Plugins do not offer. This is what I have an example of here. If more than 6 elements, then arrows appear, with the hover, the animation effect works.

    2 answers 2

    All items are in a container that is shifted, right?

    I did this: at a critical moment — when the next “scrolling” of elements may end — I added after (or before — looking in which direction you were flipping) the current visible container to its copy. And to offset, I reduced (or increased) the margin first container, while always maintaining the margin other copies = 0 (so as not to overlap one another).

      Choose to your taste: roundabouts, rotators and scrollers for jkvery