Quisiera saber como hacer mediante la función JavaScript mmLoadMenus, poder crear submenús de submenús. Usando esto, solo puedo ver un submenú y nada más.
Desde ya gracias.
Código:
<SCRIPT language=JavaScript> <!-- function mmLoadMenus() { if (window.mm_menu_0719224708_0) return; window.mm_menu_0719224708_0 = new Menu("root",98,16,"Verdana, Helvetica",10,"#004080","#ffffff","#FFFFE6","#009933","left","middle",3,0,1000,-5,7,true,true,true,0,true,true); mm_menu_0719224708_0.addMenuItem("Página Principal","window.open('http://', '_parent');"); mm_menu_0719224708_0.hideOnMouseOut=true; mm_menu_0719224708_0.menuBorder=1; mm_menu_0719224708_0.menuLiteBgColor='#ffffff'; mm_menu_0719224708_0.menuBorderBgColor='#5DBF00'; mm_menu_0719224708_0.bgColor='#ffffff'; window.mm_menu_0719224708_1 = new Menu("root",75,16,"Verdana, Helvetica",10,"#004080","#ffffff","#FFFFE6","#009933","left","middle",3,0,1000,-5,7,true,true,true,0,true,true); mm_menu_0719224708_1.addMenuItem("titulo1","window.open('http://', '_parent');"); mm_menu_0719224708_1.addMenuItem("titulo2","window.open('http://', '_parent');"); mm_menu_0719224708_1.addMenuItem("titulo3","window.open('http://', '_parent');"); mm_menu_0719224708_1.addMenuItem("titulo4","window.open('http://', '_parent');"); mm_menu_0719224708_1.addMenuItem("titulo5","window.open('http://', '_parent');"); mm_menu_0719224708_1.hideOnMouseOut=true; mm_menu_0719224708_1.menuBorder=1; mm_menu_0719224708_1.menuLiteBgColor='#ffffff'; mm_menu_0719224708_1.menuBorderBgColor='#5DBF00'; mm_menu_0719224708_1.bgColor='#ffffff'; mm_menu_0719224708_1.writeMenus(); } // mmLoadMenus() //--> </SCRIPT>