View Single Post
Old 08-13-2009, 06:56 PM   PM User | #6
Philip M
Supreme Master coder!

 
Philip M's Avatar
 
Join Date: Jun 2002
Location: London, England
Posts: 17,044
Thanks: 197
Thanked 2,412 Times in 2,390 Posts
Philip M has a spectacular aura aboutPhilip M has a spectacular aura aboutPhilip M has a spectacular aura about
Quote:
Originally Posted by rigaleb View Post
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);
Philip M is offline   Reply With Quote