我写了一个动画,它是在jquery中的一个按钮上弹出后开始的。现在我想从头到尾运行这个动画。这是可能的jQuery中,或者我必须再次写这个动画,但这次正反面?我的意思是只是一个后台功能,重现每一步,最后看起来像点击任何事情之前。如何从头到尾运行功能?
$("#three").click(function() {
$("#two, #four, #five, #six").addClass("animated out");
$("#seven").addClass("show");
$("#three").addClass("animated totheleft");
$("#mytext").addClass("animated totheright");
setTimeout(function(){$("#mytext").addClass("hide");},2000);
});
通过你失望写了这个问题,并提交的时间的话,你可能已经通过手动现做的。 ; D – Smuuf