Hola
Haggen
Prueba este ejemplo:
Código PHP:
<html>
<head>
<style type="text/css">
div {border:1px solid black}
#algo {height:0; overflow: hidden; display:none}
</style>
<script type="text/javascript">
var h=0;
var pepe;
function expandir(ide) {
obj=document.getElementById(ide);
obj.style.display='block'
for (i=0; i<50; i++)
capa=ide;
pepe=setInterval('agranda(capa)',10);
}
function agranda(obj) {
obj=document.getElementById(obj);
h++;
if (h>50) clearInterval(pepe);
obj.style.height = h+'px';
}
</script>
</head>
<body>
<div><a href="#" onclick="expandir('algo'); return false">Ver</a></div>
<div id="algo">
Nombre: Pepe<br>
Apellido: Potamo;
</div>
</body>
</html>
Saludos,