I am using slides.js for one of my projects; however, the autoplay feature is not working properly.
Here is what I am doing:
$('#slides').slides({
width: 600,
height: 120,
generateNextPrev: false,
pagination: false,
play: 1000
});
The documentation http://slidesjs.com/ says that by giving a positive number to play
, autoplay should work. Can someone help?
I don't know why it works this is something which is not given in the documentation :-
$(function(){
$('.slides').slides({
width: 600,
height: 120,
pagination: false,
previous: false
});
$('.slides').slides("play");
});