JavaScript - ayuda!

 
Vista:

ayuda!

Publicado por rafael soto (17 intervenciones) el 05/03/2002 22:14:44
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<script language="Javascript">
function scrolldown(){
parent.scrollBy(0,5)
timerID= setTimeout("scrolldown()", 100);
return true
}
</script>

<body bgcolor="#FFFFFF" text="#000000">
<p>
<a href="#" onMouseOver="scrolldown();">scrollup</a>
<br>
</p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
</body>
</html>

aquí cuando el mouse pasa sobre el link, empieza a moverse el scroll. pero ya no lo puedo detener, quiero que en onMouseOut el scroll se pare, cómo lo hago?

mil gracias por su ayuda
un saludo
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder