Ver Mensaje Individual
  #10 (permalink)  
Antiguo 20/01/2008, 06:29
furoya
(Desactivado)
 
Fecha de Ingreso: noviembre-2002
Ubicación: Ciudad Autónoma de Buenos Aires
Mensajes: 2.367
Antigüedad: 21 años, 5 meses
Puntos: 317
Re: Cambiar el cursor del raton

Pues no; no los hay.

Código:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<head> <title>CURSOR ANIMADO.</title>
<script>

var imagCur = new Array()
imagCur[0] = new Image();
imagCur[0].src="http://www.forosdelweb.com/images/smilies/biggrin.gif";
imagCur[1] = new Image();
imagCur[1].src="http://www.forosdelweb.com/images/smilies/smile.gif";
imagCur[2] = new Image();
imagCur[2].src = "http://www.forosdelweb.com/images/smilies/molesto.gif";
imagCur[3] = new Image();
imagCur[3].src = "http://www.forosdelweb.com/images/smilies/frown.gif";
imagCur[4] = new Image();
imagCur[4].src = "http://www.forosdelweb.com/images/smilies/enojado.gif";
imagCur[5] = new Image();
imagCur[5].src = imagCur[3].src;
imagCur[6] = new Image();
imagCur[6].src = imagCur[2].src;
imagCur[7] = new Image();
imagCur[7].src = imagCur[1].src;

var num=0;

function cursorAnimado0() {
document.getElementsByTagName( 'html' )[0].style.cursor = "url(" + imagCur[num].src + "), default;";

num = (num == 7) ? 0 : num+1;

setTimeout("cursorAnimado0()",500);
}

onload = cursorAnimado0;
</script>

<style type="text/css">
html {height:100%;}
body {background-color: black; color: white;}
</style>

</head>
<body>
<h2>El puntero tiene una animaci&oacute;n "cuadro a cuadro" 
armado con una serie de im&aacute;genes.</h2>

<p>S&oacute;lo para Firefox.</p>

<a href="#">enlace.</a>

</body>
</html>

Última edición por furoya; 22/01/2008 a las 12:05