<HTML> <HEAD><TITLE>Dynamic Positioning 2</TITLE> <SCRIPT LANGUAGE="JScript"> var id; function StartGlide() { document.all.TextMover.style.pixelLeft = document.body.offsetWidth/4; id = window.setInterval("Glide()",25); } function Glide() { document.all.TextMover.style.pixelLeft -= 10; document.all.TextMover.style.pixelTop -= 2; if (document.all.TextMover.style.pixelLeft<=0) {document.all.TextMover.style.pixelLeft=0; window.clearInterval(id);} } </SCRIPT> <BODY onload="StartGlide()"> <P>With dynamic positioning, you can move elements and their content anywhere in the document even after the document has loaded! <DIV ID="TextMover" STYLE= "position:absolute;top:100; left:0"> This test moves up and to the left. </DIV> </BODY> </HTML>