----- Original Message ----- From: "Robert Vreeland" <vreeland at studioframework.com> To: <thelist at lists.evolt.org> Subject: Re: [thelist] Moving a <div> with javascript Date: Mon, 10 Mar 2003 15:34:42 -0500 Reply-To: thelist at lists.evolt.org >try this: > >function right() >{ >i = parseInt(document.getElementById("watch01").style.left);i++; >document.getElementById("watch01").style.left = (i + >"px");timer=setTimeout("right()",10); >}and the same idea for function left() Thanks Robert. The key was appending "px" to specify which units to use.