function mostrarMenu(nivel,mn,event){ men2=Array( '01'); // men3=Array(); // men4=Array(); // men5=Array(); evl=""; if(mn=='')return; evl=""; evl+="document.getElementById('m"+mn+"').style.visibility='visible';\n"; evl+="document.getElementById('m"+mn+"').style.zIndex=10;\n" alert(evl); eval(evl); } function iluminarCelda(op,event){ ob=event.srcElement?event.srcElement:event.target; ob_tipo=ob.tagName if(ob_tipo=="LI"|| ob_tipo=="I"){ ob.style.backgroundImage=(op?'url(complemento/menuheaderover.png)':'') ob.style.color=(op?'yellow':'#bbbbbb'); Cancelar(event); } } function Cancelar(event){ if(window.event){event.cancelBubble=true;}else{event.stopPropagation();} } $(function (){ // // // // // // // // // // // Efecto en las opciones del menu // // // // // // // // // // // var style0={"transform":"scale(1.02)","z-index":"10","box-shadow":" 0px 0px 0px #888888"}; // var style1={"transform":"scale(1.04)","z-index":"11","box-shadow":" 3px -3px 3px #888888"}; // var style2={"transform":"scale(1.06)","z-index":"12","box-shadow":" 6px -6px 6px #888888"}; // var style3={"transform":"scale(1.08)","z-index":"13","box-shadow":" 6px -6px 6px #888888"}; // $(".menuTr").css(style0); // $(".menuTr").hover(function (){ // $(this).prev().prev().css( style1 ); // $(this).next().next().css( style1 ); // $(this).prev().css( style2 ); // $(this).next().css( style2 ); // $(this).css( style3 ); // } // ,function (){ // $(".menuTr").css(style0); // }); // // // // // // // // // // // Opciones para ocultar el menu // // // // // // // // // // });