NoteQuo
Jump to navigation
Jump to search
<SCRIPT LANGUAGE="JavaScript">
<!--
function moverCocheAdelante ()
{
if (coche.style.postleft < 400)
{
coche.style.postleft += 1;
window.setTimeout ("moverCocheAdelante();", 1);
}
function moverCocheAtras ()
}
if (coche.style.posLeft > 0)
}
coche.style.posLeft -= 1;
window.setTimeout ("moverCocheAtras();", 1);
}
}
//-->
</SCRIPT>
<DIV ID=coche" STYLE="position: relative; top: 10px; left: 200px">
<FORM>
<INPUT TYPE="button" VALUE="Atras" ONECLIK="moverCocheAtras()">
<INPUT TYPE="button" VALUE="Adelante" ONECLIK="moverCocheAdelante()">
</FORM>
</CENTER>