1
我想做一个垂直的jQuery时间内容滑块。我有五个部分,每个部分都有自己的ID和“部分”类,在一个“持有人”类的div中。到目前为止,我有这个js代码,但是所有的部分似乎都一下子滑了下来,并且出现错误。如何制作一个jquery垂直定时内容滑块?
$(document).ready(function(){
$('#section1, #section2, #section3, #section4, #section5').hide('fast');
});
$('.holder #section1').show('slow').delay(3000);
$(this).slideUp('fast');
$(this).nextUntil(['#section5']).show('slow').delay(3000);