Der Hintergrund wechselt permanent die Farbe
In den <HEAD> schreiben:
<script language="JavaScript"> //<!-- function cycle(){ window.document.bgColor ="#ff0000"; timerID=setTimeout('document.bgColor ="#ff0033"',70); timerID=setTimeout('document.bgColor ="#ff0066"',140); timerID=setTimeout('document.bgColor ="#ff0099"',210); timerID=setTimeout('document.bgColor ="#ff00cc"',280); timerID=setTimeout('document.bgColor ="#ff00ff"',350); timerID=setTimeout('document.bgColor ="#ff00cc"',420); timerID=setTimeout('document.bgColor ="#ff0099"',490); timerID=setTimeout('document.bgColor ="#ff0066"',560); timerID=setTimeout('document.bgColor ="#ff0033"',630); los=setTimeout("cycle()",630); } //--> </script>
Der <BODY.. muß erweitert werden um:
onload="cycle()"