function character_1() {
$("#character_1").animate({"top": "0"}, 3000, function() {
$(this).fadeOut(2000);
character_2();
});
};
function character_2() {
$("#character_2").animate({"top": "0"},3000, function() {
$(this).fadeOut(2000);
character_3();
});
};
function character_3() {
$("#character_3").animate({"top": "0"},3000, function() {
$(this).fadeOut(2000);
character_1();
});
};
$(document).ready(function() {
character_1();
});
上面的代码。它不会返回 character_1(); 我想让它们作为循环运行。有人帮忙吗?