Ver Mensaje Individual
  #4 (permalink)  
Antiguo 12/05/2006, 12:42
Avatar de JavierB
JavierB
Colaborador
 
Fecha de Ingreso: febrero-2002
Ubicación: Madrid
Mensajes: 25.052
Antigüedad: 22 años, 3 meses
Puntos: 772
Hola kokecola2k2

Prueba esto:
Código:
<html>
<head>
<script type="text/javascript">
var pepe;
var opa=90;
function desaparecer() {
  obj = document.getElementById('im');
  obj.style.filter='alpha(opacity=' + opa +')';
  obj.style.MozOpacity = opa /100;
  opa -= 5;
  if (opa<0) clearInterval(pepe);
}
</script>
</head>
<img src="imagen1.jpg" id="im" onclick = "pepe = setInterval('desaparecer()',100)" />
</body>
</html>
Saludos,