Ver Mensaje Individual
  #2 (permalink)  
Antiguo 18/06/2011, 10:35
alexg88
 
Fecha de Ingreso: abril-2011
Mensajes: 1.342
Antigüedad: 13 años
Puntos: 344
Respuesta: efecto a Capa Div

Puedes usar fadeOut y fadeIn para hacerlo menos tosco:

Código Javascript:
Ver original
  1. <div align="center" id="titulo"> <strong> GRAFICOS ESTADISTICOS DE TAREAS TERMINADAS</strong>
  2. <div><img src="graficos/graph_tarea_dia.php" alt="" border="0"></div>
  3. </div>
  4.  
  5.     <div align="center" onclick="$('#mostrar').fadeIn();$('#titulo').fadeOut();$('#ver').fadeOut();" style="cursor:pointer"> <strong> <label id="ver">(vea)</label> GRAFICO ESTADISTICO POR RECURSO</strong> </div>
  6.   <div id="mostrar" style="display:none">
  7.    <img src="graficos/graph_tarea_recurso.php" alt="" border="0"> </br>
  8.  
  9.   <span id="cerrar"  style="color:#000; font-family:'Lucida Sans Unicode', 'Lucida Grande', sans-serif; font-size:17px">Cerrar Grafico <label onclick="$('#mostrar').fadeOut(); $('#titulo').fadeIn();$('#ver').fadeIn();" style="cursor:pointer">[X]</label></span>
  10. </div>