hwg-techniques archives | Aug 2002 | new search | results | previous | next |
Re: Need simple delay loopby "Dusty" <designsbydusty(at)tiadon.com> |
|
> If this function is called, the image instantly leaps from its present > position to a new position at 500 pixels (left edge of image), as if > the "for" counter wasn't even there. I would like the image to move > *slowly* across the page. I figured a setTimeout() or maybe a > setInterval() would do the job, but still can't figure out how to get > it to work. Here's a link that is a tutorial on just this issue: http://www.the-cool-place.co.uk/javascript/tutorial/javascript2.html There are several "examples" on the tutorial web page. Search for the one toward the end of the page titled "try this out". Good Luck!
HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA