this is ok
this is awesome
this is cool
function(slide) {
var a = $[deck]("animate", slide);
$[deck]('addAnimationSequence', slide, [
a.appear(".comment1", 700),
a.appear(".comment2", 700),
a.appear(".comment3", 500),
[a.disappear(".comment1", 500), a.disappear(".comment3", 900)]
]);
}
this is ok
this is awesome
this is still cool
function(slide) {
var a = $[deck]("animate", slide);
$[deck]('addAnimationSequence', slide, [
[a.appear(".comment1", 500), a.appear(".comment2", 900), a.appear(".comment3", 700)],
a.animate(".comment3", "opacity", .4, 400),
a.animate(".comment1", "opacity", .2, 400),
a.appear(".withdelay", 500),
// here there is a bug in the undo (needs to be fixed)
[a.animate(".comment1,.comment2,.comment3", "opacity", 1, 800), a.withDelay(900, a.animate(".comment1,.comment3", "opacity", 0, 500))]
]);
}
this is ok
this is awesome
this is still cool
function(slide) {
var a = $[deck]("animate", slide);
$[deck]('addAnimationSequence', slide, [
a.animate(".comment1", "color", "#00FF00", 800),
[a.animate(".comment2", "color", "#00FF00", 800), a.animate(".comment1", "color", "#444", 1200)],
[a.animate(".comment3", "color", "#00FF00", 800), a.animate(".comment2", "color", "#444", 1200)],
[a.animate(".comment2", "color", "#00FF00", 800), a.animate(".comment3", "color", "#444", 1200)],
// here also, back is buggous (need to patch the core deck.js)
a.animate(".awesome", "color", "#FF0000", 800)
]);
}
function(slide) {
var a = $[deck]("animate", slide);
$[deck]('addAnimationSequence', slide, [
a.appear(".comment1", 800),
a.addClass(".awesome", "highlightInRed"),
a.appear(".comment2", 800),
a.removeClass(".awesome", "highlightInRed"),
a.appear(".comment3", 800),
[a.addClass("pre.animate", "showAnyway"),
a.addClass(".awesome", "highlightInRed")]
]);
}
add a class (highlight in red)
and remove it
show the hidden animation code (using a dedicated 'showAnyway' class)
/
#