Tema: css,js y ff
Ver Mensaje Individual
  #1 (permalink)  
Antiguo 18/11/2007, 10:42
Avatar de juanleonardo
juanleonardo
 
Fecha de Ingreso: agosto-2007
Mensajes: 382
Antigüedad: 16 años, 8 meses
Puntos: 0
css,js y ff

hola amigos les cuento que tengo un problema, tengo el siguiente codigo
CSS:
Cita:
<style type="text/css" >
<!--
#im {FILTER: alpha(opacity=50)}
-->
</style>
JAVASCRIPT:
Cita:
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)
}
HTML:
Cita:
<img src="imagen.JPG" border="0" alt="" id="im" onmouseover="high(this)" onmouseout="low(this)">
esto anda perfecto en IE pero en FF no anda, por que sera
Me podrian ayudar con esto??
Gracias