addCommand Sample 2
$.addCommand.define(); var imgs = $("#wrap").find("img"), img1 = $("#img1"), img2 = $("#img2"), img3 = $("#img3"); addCommand( DoTweener(imgs, { opacity: 0, top: 0 + "px", left: 0 + "px" }, 1000, "easeInOutCirc", function() {}), Prop(imgs, {opacity: 1}), DoTweener(img1, { top: 90 + "px", left: 260 + "px" }, 1000, "easeInOutCirc", function() {}), DoTweener(img2, { top: 170 + "px", left: 450 + "px" }, 1000, "easeInOutCirc", function() {}), DoTweener(img3, { top: 260 + "px", left: 620 + "px" }, 1000, "easeInOutCirc", function() {}) );