- load autoslide.js file before load your script,
- add .autoSlide() method for parent div or ul element, that hold child elements to auto slides.
- add following css rule for animate the slideshow
-
@keyframes autoSlide{
from { opacity: 0.7; } to { opacity: 1; } }
-
you can customize this animation for build a better automatic slideshow 😊