我使用jquery來逐一旋轉我的div使用淡入淡出效果,但效果並不平滑 它跳起來,然後顯示 這裏是我的小提琴。Jquery推薦推子不能正常工作
$(document).ready(function(e) {
$('.testimonials div:first').show();
setInterval(function(){ $('.testimonials div:first-child').fadeOut().next('div').fadeIn().end().appendTo('.testimonials') },3000);
});