Unlike the previous method, the list of images flows to the right. (Infinite repetition)
The code below creates the space to which the slider will apply.
<div class="ms-slider">
<ul class="ms-slider-content"></ul>
</div>
Add the following code afterwards:
var slider = new ms_slider('.ms-slider-content');
slider.init();
slider.imageClone();
slider.loopAnimate(slider);
Thank you for watching!