This is the demo page for the sixth installment of The Neuron Workout Solutions, a series of posts on the blog for The Bungee Book, which answers the challenges closing many chapters. Read the full post here.
new Effect.Scale('breather', 200);
new Effect.Scale('breather', 50, { queue: 'end', delay: 2 });
Breathe in… Breathe out.
Effect.BlindLeft and Effect.BlindDownEffect.BlindLeft = function(element) {
return Effect.BlindUp(element, Object.extend({
scaleX: true, scaleY: false
}, arguments[1] || {}));
};
Off I go! (to the left)
Effect.BlindRight = function(element) {
return new Effect.Parallel([
Effect.BlindUp(element, { scaleX: true, scaleY: false, sync: true }),
new Effect.Move(element, { sync: true, x: $(element).getWidth(), y: 0 })
], arguments[1] || {});
};
Off I go! (to the right)
You’ll need to refresh the page to get rid of these…
beforeSetup: function(effect) { effect.finishOn = Number.POSITIVE_INFINITY; }