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!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
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 Antwort
+ 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