Difference between revisions of "NoteQuo"
Jump to navigation
Jump to search
Line 19: | Line 19: | ||
//--> | //--> | ||
</SCRIPT> | </SCRIPT> | ||
+ | |||
+ | <DIV ID=coche" STYLE="position: relative; top: 10px; left: 200px"> | ||
+ | |||
+ | |||
<FORM> | <FORM> | ||
<INPUT TYPE="button" VALUE="Atras" ONECLIK="moverCocheAtras()"> | <INPUT TYPE="button" VALUE="Atras" ONECLIK="moverCocheAtras()"> | ||
− | <INPUT TYPE="button" VALUE=" | + | <INPUT TYPE="button" VALUE="Adelante" ONECLIK="moverCocheAdelante()"> |
+ | </FORM> | ||
+ | </CENTER> |
Revision as of 19:51, 22 June 2020
<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>