A
A
Apostrophe42019-03-27 17:58:36
JavaScript
Apostrophe4, 2019-03-27 17:58:36

Slider. Initially 4 slides, and then new ones are added as you click?

Hello how to make a slider. The essence of the slider:
1. Initially 4 slides.
2. As you click on the "next" button, a new picture appears on the right, but the last picture on the left disappears.
3. The slider always shows 4 pictures.
4. When the last picture is reached, the slider rewinds to the first one again.5c9b8c8796d98833132672.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DmitryBB, 2019-03-27
@DmitryBB

Hello. I guess you don't really need to remove or add anything.
This system is called a carousel.
In search of a lot of ready-made solutions for the query html carousel and the like.
In a nutshell, how it works.
We create a block in which there is another block with a bunch of pictures.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question