Quote:
Originally Posted by rigaleb
GOOOOD. It worked ! Thanks. Now, another problem..  how do I make it stop at one point in it's trajectory and remain there ? Should i put a while loop ?that counts the "left" attribute ?
|
Code:
pp.style.left = lft+"px";
if (lft > 500) {
clearTimeout(tim);