MooTools Tween in percent
Posted
by FatalRabbit
on Stack Overflow
See other posts from Stack Overflow
or by FatalRabbit
Published on 2010-03-26T10:23:38Z
Indexed on
2010/03/26
11:13 UTC
Read the original article
Hit count: 529
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.
© Stack Overflow or respective owner