Hola!
Sí dejaré cómo quedó.. Iba a hacerlo de todos modos
Código:
<script type="text/javascript">
<!-- Navegadores antiguos
var height=1;
var timer;
function ampliar(){
timer = setInterval(amplia,5);
}
function amplia(){
if(height<=204){
height+=5;
document.getElementById('menuoculto').style.visibility='visible';
document.getElementById('menuoculto').style.height=height+'px';
}else{
clearInterval(timer);
document.getElementById('menulink').innerHTML='<a href="javascript:cerrar()">Ocultar el menú</a>';
}
}
//Añadir la funcion cerrar
function cerrar(){
timer = setInterval(cierra,5);
}
function cierra(){
if(height>=0){
height-=5;
document.getElementById('menuoculto').style.height=height+'px';
}else{
clearInterval(timer);
document.getElementById('menuoculto').style.visibility='hidden';
document.getElementById('menulink').innerHTML='<a href="javascript:ampliar()">Mostrar de nuevo</a>';
}
}
//-->
</script>
<div style="margin-left:40px;margin-bottom:3px;margin-top:0px;" id="menulink"></div>
<div id="menuoculto" style="margin-left:40px;height:0px;width:80%;border:solid 1px #CCCCCC;overflow:hidden;margin-bottom:10px;visibility:hidden;">
CONTENIDO
</div>
</div>
¿cuál es el problema en FF?... Yo lo veao bien