How can i create an image slider that will change the images automatically at a specific time instead of using the next and prev | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

How can i create an image slider that will change the images automatically at a specific time instead of using the next and prev

creating an image slider that loads automatically

17th Jan 2017, 9:38 AM
Apena Adetayo
Apena Adetayo - avatar
1 ответ
+ 3
Use setInterval(function() { // your code to change images }, 5000). The function will be executed every 5000 miliseconds.
17th Jan 2017, 9:55 AM
David Sebastian Keshvi Illiakis
David Sebastian Keshvi Illiakis - avatar