Jquery Cycle plugin, how to syntax cycle duration
i just used the jQuery Cycle plugin on a website.
I'm HORRIBLE with jquery syntaxing so I dont know the correct way to tell Cycler to fade my images every 2-3 seconds instead of 5 seconds here's the code in my index.html <head>
$(document).ready(function() {
$('.slideshow').cycle({
fx: 'fade'
});
});
please, id love to know how to correctly tell jquery 3开发者_开发技巧 seconds and cose the statement aswell.
Im just so bad with javascript.Use the timeout
option.
$(document).ready(function() {
$('.slideshow').cycle({
fx: 'fade',
timeout: 2500 // milliseconds = 2.5 seconds
});
});
精彩评论