Thunder Lizard JavaScript Conference |
<script> var firstTime = true function moveIt() { if (firstTime) { if (document.all) { moveLine = mover.style moveLine.top = 25 moveLine.left = 5 } else { moveLine = document.mover } firstTime = false } moveLine.top = parseInt(moveLine.top) + 2 moveLine.left = parseInt(moveLine.left) + 2 if ((document.all && parseInt(moveLine.left) < 100) || moveLine.left <= (window.innerWidth-450)) { setTimeout("moveIt()",20) } } </script>