Por favor me gustaria que me ayudaran con una duda que tengo es sobre como deshabilitar item de un menu por ejemplo tengo este menu:
Código:
El menu tiene un item llamado "Principal" y este tiene un subitem que se llama "Secundario" me gustaria que cuando se precione el boton "Menu" se deshabilite "Secundario"<html xmlns=" "> <head> <script type="text/javascript" src="stmenu.js"></script><a href=" " style="display:none;visibility:hidden;">Javascript DHTML Drop Down Menu Powered by dhtml-menu-builder.com</a> <script type="text/javascript"> <!-- stm_bm(["menu6b66",900,"","blank.gif",0,"","",0,0,250,0,1000,1,0,0,"","",0,0,1,2,"default","hand","",1,25],this); stm_bp("p0",[0,4,0,0,2,3,0,7,100,"",-2,"",-2,50,0,0,"#999999","#E6EFF9","",3,1,1,"#000000"]); stm_ai("p0i0",[0,"Principal","","",-1,-1,0,"","_self","","","","",0,0,0,"arrow_r.gif","arrow_r.gif",7,7,0,0,1,"#E6EFF9",0,"#FFD602",0,"","",3,3,1,1,"#E6EFF9","#000000","#000000","#000000","8pt Verdana","8pt Verdana",0,0,"","","","",0,0,0]); stm_bpx("p1","p0",[1,4,0,0,2,3,0,0]); stm_aix("p1i0","p0i0",[0,"Secundario","","",-1,-1,0,"","_self","","","","",0,0,0,"","",0,0]); stm_ep(); stm_ep(); stm_em(); //--> </script> </head> <body class="oneColElsCtr"> <form id="form1" name="form1" method="post" action=""> <label> <input type="submit" name="miboton" id="miboton" value="Menu" /> </label> </form> </body> </html>
Agradeceria mucho su ayuda ya que estoy empezando con esto y no lo entiendo mucho