small jquery script. Easy to do. Animate -
i have script.
$("#menu li a.nieuwsbriefaanmelden").click(function() { $("#nieuwsbrief").slidedown(600); $("#nieuwsbrief form").fadein(600); });
how can change script. script first slidedown. , when slidedown done, fadein. slideshow , fadein effect. start same time.
thanks
every animation function in jquery supports callback function second argument fired once animation complete. thus, can chain animations have them execute 1 after another:
$("#menu li a.nieuwsbriefaanmelden").click(function() { $("#nieuwsbrief").slidedown(600, function() {; $("#nieuwsbrief form").fadein(600); }); });
Comments
Post a Comment