Ver Mensaje Individual
  #3 (permalink)  
Antiguo 01/02/2012, 02:49
Avatar de Panino5001
Panino5001
Me alejo de Omelas
 
Fecha de Ingreso: mayo-2004
Ubicación: -34.637167,-58.462984
Mensajes: 5.148
Antigüedad: 20 años
Puntos: 834
Respuesta: No funciona transicion de opacidad

El único problema que veo es que le has asignado 100 al valor de opacity y los valores van de 0 a 1. Esto, por ejemplo, funciona sin problemas:
Código PHP:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html xmlns="http://www.w3.org/1999/xhtml">
<
head>
<
meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<
title>Documento sin título</title>
<
style>
#contenido_tarea{ 
    
clearboth
    
width100%; 
    
height400px
    
border-top1px solid #CCC; 
    
padding-top15px
    
font-size14px
    
opacity:.1
    -
webkit-transitionopacity 2s ease-in-out
    -
moz-transitionopacity 2s ease-in-out
    -
o-transitionopacity 2s ease-in-out
    -
ms-transitionopacity 2s ease-in-out;     
    
transitionopacity 2s ease-in-out;
    
background:#000;
}
</
style>
<
script type="text/javascript">
function 
div_on(){ 
                var 
cont_tarea document.getElementById("contenido_tarea"); 
                    
cont_tarea.style.opacity="1"
                    
}
</script>

</head>

<body>
<div id="contenido_tarea" onclick="div_on()"></div>
</body>
</html>