Ver Mensaje Individual
  #7 (permalink)  
Antiguo 30/07/2009, 15:39
Avatar de pato12
pato12
 
Fecha de Ingreso: septiembre-2007
Ubicación: Salta
Mensajes: 1.620
Antigüedad: 16 años, 7 meses
Puntos: 101
Respuesta: ¿Submenú en menú?

Prueba haci, falto el style. Pero prueba haci, con esta funcion:
Código html:
Ver original
  1. <a href="javascript:void(0);" onclick="toggle('contenedor');">Menu</a>
  2.       <div id="contenedor" style="display:none;">
  3.       opciones del menú
  4.       </div>
  5. function toggle(id){
  6.     var dom=document.getElementById(id),display=dom.style.display;
  7.     dom.style.display=(display=='none')?'block':'none';
  8. }
__________________
Half Music - www.halfmusic.com