Ver Mensaje Individual
  #3 (permalink)  
Antiguo 27/06/2010, 18:13
drakken
 
Fecha de Ingreso: marzo-2010
Mensajes: 37
Antigüedad: 14 años, 1 mes
Puntos: 1
Respuesta: como hacer efecto como el de esta web

si te refieres al fade que tiene por efecto podrias usar jquery

por ejemplo:
Cita:

<div id="div_texto">html</div>
<a href="#" onclick="fade_html()">click</a>

Cita:
function fade_html(){
$('#div_texto').fadeOut('slow',function(){
$('#div_texto').html('nuevo html');
$('#div_texto').fadeIn('slow');
});

}


ahora si queres que cambie tambn el background del body

tendrias que aumentar datos



Cita:
function fade_html(){
$('#div_texto').fadeOut('slow',function(){
$('#div_texto').html('nuevo html');
$('body').css('background','white');
$('#div_texto').fadeIn('slow');
});

}



saludos!