![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
15/01/2008, 13:51
|
| | Fecha de Ingreso: enero-2008
Mensajes: 581
Antigüedad: 17 años Puntos: 9 | |
Re: problema con Funcion para menu desplegable lo tengo asi ahora, gracias por adelantado
----------------------------------------------------
i=30
function Mostrar(desplegable){
desplegable.style.height="auto";
h=desplegable.offsetHeight;
i ++
desplegable.style.height=i+"px";
if (i < h){setTimeout("Mostrar()",30)}
/* desplegable.style.height=100+"px"; este si funcionaria */
}
function Ocultar(desplegable){desplegable.style.height=30+" px";} /* este funciona */ |