[Kompatibilität]
[Code]
<script> <!-- function start() { if(document.layers) { bewegung = document.moving; } else if (document.getElementById) { bewegung = document.getElementById("moving").style; } bewegdich() } function bewegdich() { bewegung.left = parseInt(bewegung.left) - 3; if (parseInt(bewegung.left) < 0 ) { bewegung.right = 640 } setTimeout('bewegdich()',200); // je kleiner die Zahl, desto schneller die Bewegung } // --> </script>
<body onload="start()">
<div id="moving" style="position: absolute; top: 100px; left: 250px; z-index: 2; height: 50px; width: 150px ">
<h1 align="center"><font color="#FFFFFF">Bewegter Text</font></h1> </div>
IWL
Bitte kopieren Sie den Quelltext