mhumh: Hintergrund-Bild nicht mitscrollen

Beitrag lesen

<script language="JavaScript" type="text/javascript">
<!--
var timerID = null;
var timerRunning = false;
var id,pause=0,position=0;

function moe() {
var i,k,msg="text";
k=(75/msg.length)+1;for(i=0;i<=k;i++) msg+=" "+msg;document.mhh.moe.value=msg.substring(position,position+75);
if(position++==38) position=0;
id=setTimeout("moe()",1000/10); }

function action() {
if(!pause) {
clearTimeout(id);
pause=1; }
else {moe();
pause=0; } }
// -->
</script>

<form name="mhh">
<input type="text" name="moe" size="75">
</form>

<body onLoad="moe()">