Ver Mensaje Individual
  #2 (permalink)  
Antiguo 30/04/2003, 05:41
Avatar de KarlanKas
KarlanKas
Moderador extraterrestre
 
Fecha de Ingreso: diciembre-2001
Ubicación: Madrid
Mensajes: 6.987
Antigüedad: 23 años, 2 meses
Puntos: 61

Mira a ver si te sirve este ejemplillo:


Código PHP:
<html>
<
head>
    <
title>Untitled</title>
<
script>
pp=99;
var 
pepe
function cambio(incremento){

if (
pp>=70&&pp<=100){
                
pp+=incremento;
                if(
document.all){
                                
foto.style.filter="alpha(opacity="+pp+")";}
                else{
                                
foto.style.MozOpacity=pp/100}
                }

else{
pp+=incremento}

}
</script>

</head>

<body>
<img src=3.jpg id="foto" style="filter:alpha(opacity=100)" onmouseover="clearInterval(pepe);pepe=setInterval('cambio(-5)',5);" onmouseout="clearInterval(pepe);pepe=setInterval('cambio(5)',5);">


</body>
</html> 
__________________
Cómo escribir

No hay pregunta tonta, sino tonto que quiere seguir en la ignorancia.