Hola
PRICE
Prueba este ejemplo:
Código PHP:
<html>
<head>
<script type="text/javascript">
var inter;
var velocidad = 20;
var derecha = 800;
function mover() {
obj = document.getElementById('ima');
iz = parseInt(obj.style.left)+velocidad;
if (iz>derecha)
clearInterval(inter);
obj.style.left = iz+'px';
}
</script>
</head>
<body onload="inter=setInterval('mover()',100)">
<form>
<img src="imagen3.jpg" id="ima" style="position:absolute; left:20px; top:20px" />
</form>
</body>
</html>
Saludos,