Ver Mensaje Individual
  #1 (permalink)  
Antiguo 23/11/2002, 12:52
Avatar de CHILENOCES
CHILENOCES
 
Fecha de Ingreso: octubre-2001
Ubicación: Mmm paseando por la vida
Mensajes: 491
Antigüedad: 23 años, 4 meses
Puntos: 0
Como cambio esto en funcion FADE

ESTE ES EL CODE :

<html>
<head>
<!-- Copiar dentro del tag HEAD -->
<style type="text/css">
#im {
FILTER: alpha(opacity=50)
}
</style>

<script language="JavaScript1.2">
function high(which2)
{
theobject=which2;
highlighting=setInterval("highlightit(theobject)", 50);

}
function low(which2)
{
clearInterval(highlighting);
which2.filters.alpha.opacity=50;
}
function highlightit(cur2)
{
if(cur2.filters.alpha.opacity<100)
cur2.filters.alpha.opacity+=5
else if(window.highlighting)
clearInterval(highlighting)
}
</script>

</head>

<body>
<!-- Copiar dentro del tag BODY -->
<!-- Colocar dentro del tag IMG -->

<img SRC="imagen.gif" id="im" onmouseover="high(this)" onmouseout="low(this)">
</body>
</html>


Eso hace que la imagen aparezca nublada y onmouseover se vea 100% pero quiero invertir el efecto osea que este al principio 100% y onmouseover se nuble

Creo que es pan comido pero no se de JS.

Saludos y gracias.
__________________
ChilenoCesar Looking for something new...