I'm looking to automate the changing of images in a slideshow. I'd rather not install any 3rd party plugins if possible.
Thanks.
I'm looking to automate the changing of images in a slideshow. I'd rather not install any 3rd party plugins if possible.
Thanks.
window.setInterval(function(){
/// call your function here
}, 5000);
you could register an interval on the page using setInterval, ie:
setInterval(function(){
//code goes here that will be run every 5 seconds.
}, 5000);