0
我想添加淡入此代碼之間的這些元素淡入淡水btw兩個元素jquery
有些幫助嗎?
$("#example p:first").css("display", "block");
jQuery.fn.timer = function() {
if(!$(this).children("p:last-child").is(":visible")){
$(this).children("p:visible")
.css("display", "none")
.next("p").css("display", "block");
}
}
window.setInterval(function() {
$("#example").timer();
}, 1000);