MooTools Tween in percent
- by FatalRabbit
Is it possible to tween an element in percent in MooTools?
var slide = new Fx.Tween($('slide_box'));
$('next_slide').addEvent('click',function(){
slide.start('left', '-100%');
});
But this code tween an element by 100px, not in percent.