Quien me puede dar el codigo o como hago ese menu que tiene <a href='ir.asp?http://www.pandasoftware.com' target='_blank'>http://www.pandasoftware.com...</a> en el menu izquierdo
gracias es que si me urge :)
| |||
Re: ayudenme , quien tiene este menu o su codigo aqui lo tienes va por partes porque se me hace que no va a caber completo. lo pegas justo donde quede el anterior <HTML><HEAD> <META content="text/html; charset=windows-1252" http-equiv=Content-Type><LINK href="menus.css" rel=stylesheet> <SCRIPT language=JavaScript src="menu.js"></SCRIPT> <SCRIPT language=javascript> <!-- function Lanzar(url) { window.open (url,''); } var ver = 0; // PARA EL NAVEGADOR // redirige segun el navegador a la pagina correcta de logon. var agt = navigator.userAgent.toLowerCase(); var is_ie = (agt.indexOf("msie")!=-1); var is_nav = ((agt.indexOf('mozilla')!=-1) && (agt.indexOf('spoofer')==-1) && (agt.indexOf('compatible') == -1) && (agt.indexOf('opera')==-1) && (agt.indexOf('webtv')==-1)); // FIN PARA EL NAVEGADOR disableCache=false; var activeWindowLocale="cat"; var itemHeight=17; var itemWidth=190; var bgcolorLevel1=""; var bgcolorLevel2=""; var bgcolorLevel3=""; var bordercolor=""; var border=1; var incDes=17 var timeDes=5; preload("imageDown","images_menu/mas.gif"); preload("imageUp","images_menu/menos.gif"); var linkDelay=0; var linkTarget="self"; // antes aqui decia "principal" var pathTarget=""; // TABS var tabHeight=10; function init() { menu=new Menu("menu", "Menu", "", ""); menu.init(); // ----------- EJEMPLO ------------ // menuName=new Menu("menuName", "Text", "link", "path", isLinkAndMenu) // // Nota: si tiene link no es menú, a no ser que se ponga isLinkAndMenu a true. // ------------------------------------ //primeros niveles cc1=new Menu("cc1","ya esta arreglado¡¡¡ je je je"); cc2=new Menu("cc2","Home Users"); cc3=new Menu("cc3","Downloads","/com/downloads/downloads.asp"); cc4=new Menu("cc4","Customer Area"); cc5=new Menu("cc5","Publications & Encyclopedia"); cc6=new Menu("cc6","Press"); cc7=new Menu("cc7"," Software"); primerNivel= new Array (cc1,cc2,cc3,cc4,cc5,cc6,cc7); menu.addChilds(primerNivel); menu.addTabs(); menu.setVisible(true); setTimeout("init2();",10); } function init2() { |
| |||
Re: ayudenme , quien tiene este menu o su codigo // Submenú 1 cc1_1=new Menu("cc1_1","<b>aqui el titulo del enlace¡¡¡¡¡¡</b>","estilo.html"); cc1_2=new Menu("cc1_2","PAV Servers & Desktops","/com/pgvi/deskserv/deskserv.asp"); cc1_3=new Menu("cc1_3","PAV Exchange Server","/com/pgvi/exchange/exchange.asp"); cc1_4=new Menu("cc1_4","PAV Exchange 2000","/com/pgvi/exchange2000/exchange2000.asp"); cc1_5=new Menu("cc1_5","PAV Notes/Domino Server","/com/pgvi/notes/notes.asp"); cc1_6=new Menu("cc1_6","PAV Firewalls","/com/pgvi/firewalls/firewalls.asp"); cc1_7=new Menu("cc1_7","PAV MS Proxy Server","/com/pgvi/proxy/proxy.asp"); cc1_8=new Menu("cc1_8"," Invent","/com/invent/invent.asp"); cc1_9=new Menu("cc1_9","Beta Program","/beta/beta-com.asp"); Menum1=new Array (cc1_1,cc1_2,cc1_3,cc1_4,cc1_5,cc1_6,cc1_7,cc1_8,c c1_9); cc1.addChilds(Menum1); // Submenú 2 cc2_1=new Menu("cc2_1"," Antivirus Platinum","/com/platinum/platinum.asp"); cc2_2=new Menu("cc2_2"," Antivirus Linux","/com/linux/linux.asp"); cc2_3=new Menu("cc2_3","Security","/com/security/security_usr.asp"); cc2_4=new Menu("cc2_4"," Antivirus Titanium","javascript:Lanzar('http://www.ososoftware.com/titanium')"); Menum2=new Array (cc2_1,cc2_2,cc2_3,cc2_4); cc2.addChilds(Menum2); // Submenú 4 cc4_1=new Menu("cc4_1","Updates","/com/updates.asp"); cc4_2=new Menu("cc4_2","News Flash","/flash/flashcom.asp"); cc4_3=new Menu("cc4_3","Online Registration","http://service.software.com/rol/indexrol.html"); cc4_4=new Menu("cc4_4","Recall Username/Password","http://service.asoftware.es/servlet/Internet.EntradaDatosInternet?operacion=CorreoROL& amp;idioma=2"); Menum4=new Array (cc4_1,cc4_2,cc4_3,cc4_4); cc4.addChilds(Menum4); |
| |||
Re: ayudenme , quien tiene este menu o su codigo // Submenú 5 cc5_1=new Menu("cc5_1","Virus Encyclopedia","http://service.ososoftware.es/enciclopedia2/EntradaEnciclopedia.html?idioma=2"); cc5_2=new Menu("cc5_2","oso News","/news/pnews_com.asp"); cc5_3=new Menu("cc5_3","Product Documentation","/com/docs/docs.asp"); cc5_4=new Menu("cc5_4","Technical Papers","/com/technicalpapers.asp"); cc5_5=new Menu("cc5_5","Oxygen3 24h-365d","javascript:Lanzar('http://www.oxygen3.com/us')"); Menum5=new Array (cc5_1,cc5_2,cc5_3,cc5_4,cc5_5); cc5.addChilds(Menum5); // Submenú 6 cc6_1=new Menu("cc6_1","Press Releases","/PrensaVisualizacionNota.asp?id=120&Idioma=2&qu ot;); //cc6_2=new Menu("cc6_2","Press Book","/press/pressbook.zip"); cc6_2=new Menu("cc6_2"," in the Media","/mediacoverage/mc_com.asp"); cc6_3=new Menu("cc6_3","Press Comparatives","/com/comparatives/comparatives.asp") Menum6=new Array (cc6_1,cc6_2,cc6_3); cc6.addChilds(Menum6); // Submenú 7 cc7_1=new Menu("cc7_1","About ","/com/corp/ab.asp"); cc7_2=new Menu("cc7_2","Awards & Certifications","/awards/awards_com.asp"); cc7_3=new Menu("cc7_3"," Worldwide","/com/osocorp/osoworldwide.asp"); cc7_4=new Menu("cc7_4","Become a Partner","/formcp_eng.asp"); cc7_5=new Menu("cc7_5","Job Opportunities","/com/jobopportunities.asp"); Menum7=new Array (cc7_1,cc7_2,cc7_3,cc7_4,cc7_5); cc7.addChilds(Menum7); menu.end(); } var windowGeneral; var windowPopUp; //--> </SCRIPT> <META content="MSHTML 5.00.2614.3500" name=GENERATOR></HEAD> <BODY background=menu_archivos/w2.gif bgColor=#ffffff onload="setTimeout('init();',10)">< ;BR> <SCRIPT> <!-- if(nav.isIE) document.write('<DIV id="menuTot" name="menuTot" style="position:absolute;top:40;left:19;heigh t:100"><DIV id="menuL" name="menuL" style="position:absolute;top:0;left:0"&g t;<DIV id="menuC" name="menuC" style="position:absolute:top:0;left:0"&g t;</DIV></DIV><DIV id="menuLTab1" name="menuLTab1" style="position:absolute;top:0;left:0"&g t;</DIV><DIV id="menuLTab2" name="menuLTab2" style="position:absolute;top:0;left:0"&g t;</DIV></DIV>'); else if(nav.isNN) { document.open(); document.write('<LAYER id="menuTot" name="menuTot" top=40 left=19 height=100><LAYER id="menuL" name="menuL" top=0 left=0><LAYER id="menuC" name="menuC" top=0 left=0></LAYER></LAYER><LAYER id="menuLTab1" name="menuLTab1" top=0 left=0></LAYER><LAYER id="menuLTab2" name="menuLTab2" top=0 left=0></LAYER></LAYER>'); document.close(); } //--> </SCRIPT> </BODY></HTML> |
| |||
Re: ayudenme , quien tiene este menu o su codigo este es un archivo que vas a guardar como: menus.css en la misma carpeta (es una hoja de estilos) #menu { HEIGHT: 164px; LEFT: 15px; POSITION: absolute; TOP: 36px; VISIBILITY: visible; WIDTH: 60px; Z-INDEX: 15 } BODY { BACKGROUND-COLOR: white; BACKGROUND-IMAGE: url(../imagenesmenu/w2.gif); BACKGROUND-POSITION: left top; BACKGROUND-REPEAT: no-repeat; COLOR: white; FONT-FAMILY: Verdana; FONT-SIZE: xx-small; MARGIN-LEFT: 15px; MARGIN-TOP: 0px; TEXT-DECORATION: none } .level1 { COLOR: #000000; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 11px; FONT-STYLE: normal; FONT-WEIGHT: bold; LINE-HEIGHT: normal; TEXT-DECORATION: none } .level2 { COLOR: #000000; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 11px; FONT-STYLE: normal; FONT-WEIGHT: normal; LINE-HEIGHT: normal; TEXT-DECORATION: none } .level3 { COLOR: #000000; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 11px; FONT-STYLE: normal; FONT-WEIGHT: normal; LINE-HEIGHT: normal; TEXT-DECORATION: none } A:link { COLOR: #0000ff; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; FONT-SIZE: 8pt; FONT-STYLE: normal; FONT-WEIGHT: normal; LINE-HEIGHT: normal; TEXT-DECORATION: underline } A:active { COLOR: #33ccff; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; FONT-SIZE: 8pt; FONT-STYLE: normal; FONT-WEIGHT: normal; LINE-HEIGHT: normal; TEXT-DECORATION: underline } A:visited { COLOR: #663366; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; FONT-SIZE: 8pt; FONT-STYLE: normal; FONT-WEIGHT: normal; LINE-HEIGHT: normal; TEXT-DECORATION: underline } A:hover { COLOR: #cc0000; TEXT-DECORATION: none } |
| |||
Re: ayudenme , quien tiene este menu o su codigo y por ultimo va el archivo de windows script lo vas a guardar en la misma carpeta como: menu.js <!-- var undefined; var disableCache=true; var menuImageWidth=9; //var bordercolor="#FFFFFF"; //var bgcolor="#FFFFFF"; function BrowserCheck() { this.isNN=false; this.isIE=false; this.isMac=false; var b = navigator.appName // Browser if (b=="Netscape") this.isNN=true; else if (b=="Microsoft Internet Explorer") this.isIE=true; // Máquina if(navigator.userAgent.indexOf("Mac") != -1) this.isMac=true; } var nav = new BrowserCheck(); var t=".top"; var l=".left"; var v=".visibility"; var c=".clip"; var h=".height"; var w=".width"; var visible="show"; var hidden="hide"; var creando=false; if(nav.isIE) { t=".style"+t; l=".style"+l; v=".style"+v; c=".style"+c; h=".style"+h; visible="visible"; hidden="hidden"; } var maxHeight; function desplaza(o, x, y) { eval("o"+t+"=y;"); eval("o"+l+"=x;"); } function desplazaPor(obj, incx, incy) { eval("obj"+t+"=parseInt(obj"+t +")+incy;"); eval("obj"+l+"=parseInt(obj"+l +")+incx;"); } var deslizando=false; function desliza(hasta) { if(objsDes==null) objsDes=new Array(); else for(var i=0; i<objsDes.length; i++) if(objsDes[I]==this) { objsDes=null; break; } objsDes[objsDes.length]=this; if(objsDesHasta==null) objsDesHasta=new Array(); objsDesHasta[objsDesHasta.length]=hasta; deslizando=true; deslizaObjs(objsDes.length-1); } |
| |||
Re: ayudenme , quien tiene este menu o su codigo function create() { this.id=this.parent.childs.length-1; this.level=this.parent.level+1; var top=0; if(this.level==1) top=this.id*itemHeight; var vis=visible; if(this.level!=1) vis=hidden; var aux=""; for(var i=1; i<this.level; i++) aux+="&nbsp;&nbsp;" var auxalign="align='absmiddle'"; if(nav.isNN && this.level==1) auxalign="align='top' vspace=2"; var img=""; var hayimg=false; if(window.imageDown!=undefined) { if(window.imageDown.src!=undefined) { if(window.imageDown.src!=""); { hayimg=true; img="<IMG id='"+this.name+"I' src='"+imageDown.src+"' height="+menuImageWidth+" width="+menuImageWidth+" border=0 "+auxalign+">&nbsp;&nbsp;& ;nbsp;"; } } } if(!hayimg) img="&nbsp;<B>·</B>&nbsp;"; if(!this.isMenu) img="&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;"; var auxbackground=""; var cellspacing=border; if(nav.isIE) this.html="<DIV id='"+this.name+"L' name='"+this.name+"L' style='position:absolute;top:"+top+";lef t:0;visibility:"+vis+";width:"+item Width+";'><TABLE width="+itemWidth+" border=0 cellspacing="+cellspacing+" cellpadding=0><TR onMouseOver='entrarMenu(this);' OnMouseOut='salirMenu(this)' onClick='"+this.javaScriptLink+"' class='level"+this.level+"'><TD bgcolor='"+eval("bgcolorLevel"+this .level)+"' valign='bottom' height="+(itemHeight-border)+auxbackground+">"+aux+img+thi s.text+"</TD></TR></TABLE><DIV id='"+this.name+"C' name='"+this.name+"C' style='position:absolute;top:"+itemHeight+&qu ot;;left:0'></DIV></DIV>"; else if(nav.isNN) this.html="<LAYER id='"+this.name+"L' name='"+this.name+"L' top="+top+" left=0 visibility='"+vis+"' width="+itemWidth+((cellspacing!="0" ;)?" ":"")+"><TABLE width="+itemWidth+" border=0 cellspacing=0 cellpadding=0><TR><TD valign='bottom' height="+(itemHeight-border)+auxbackground+"><A class='level"+this.level+"' href='javascript:"+this.javaScriptLink+" '>"+aux+img+this.text+"</A></TD></TR></TABLE><LAYER id='"+this.name+"C' name='"+this.name+"C' top="+itemHeight+"></LAYER></LAYER>"; } function addChild(obj, flag) { if(this.childs==null) this.childs=new Array(); this.childs[this.childs.length]=obj; obj.parent=this; obj.menu=this.menu; obj.create(); this.htmlChilds+=obj.html; if(flag!="wait") setHTML(eval(this.objC),this.htmlChilds); if(nav.isNN) { obj.objL=this.objC+".document."+obj.name +"L"; obj.objC=obj.objL+".document."+obj.name+ "C"; } } function addChilds(arr) { if(arr!=null && arr.length>0) { for(var i=0; i<arr.length-1; i++) this.addChild(arr, "wait"); this.addChild(arr[arr.length-1]); } } |
| |||
Re: ayudenme , quien tiene este menu o su codigo function setVisible(b) { var ov=eval(this.objL+v); if(b) ov=visible; else ov=hidden; } function extend(b) { if(this.childs!=null) { if(b) { if(window.imageUp!=undefined && window.imageUp.src!=undefined && window.imageUp.src!="") { if(nav.isIE) eval("document.images('"+this.name+" ;I').src=imageUp.src;"); else eval(this.objL+".document.images[0].src=imageUp.src;"); } this.isOpen=true; for(var i=0; i<this.childs.length; i++) { eval(this.childs[I].objL+v+"=\""+visible+"\" ;"); desplaza(eval(this.childs[i].objL),0,i*itemHeight); if(nav.isNN) { eval(this.objC).clip.height+=itemHeight; eval(this.objL).clip.height+=itemHeight; } } this.menu.tabs.newHeight(this.menu.tabs.height+thi s.childs.length*itemHeight); } else { if(window.imageDown!=undefined && window.imageDown.src!=undefined && window.imageDown.src!="") { if(nav.isIE) eval("document.images('"+this.name+" ;I').src=imageDown.src;"); else eval(this.objL+".document.images[0].src=imageDown.src;"); } this.isOpen=false; for(var i=0; i<this.childs.length; i++) { eval(this.childs[i].objL+v+"=\""+hidden+"\"; "); desplaza(eval(this.childs[i].objL),0,itemHeight); } if(this.openChild!=-1) { this.childs[this.openChild].isOpen=false; this.childs[this.openChild].extend(false); this.openChild=-1; } desplazaPor(eval(this.menu.tabs.layer),0,this.chil ds.length*itemHeight); if(parseInt(eval(this.menu.tabs.layer+t))>tabHe ight) desplaza(eval(this.menu.tabs.layer),0,tabHeight); this.menu.tabs.newHeight(this.menu.tabs.height-this.childs.length*itemHeight); } this.parent.moveChilds(this.id, this.childs.length, b, false); } } function moveChilds(num, can, dir, flag) { if(num!=this.openChild && this.openChild!=-1) this.childs[this.openChild].extend(false); if(dir) // dir==true -> down { if(nav.isNN) { eval(this.objC).clip.height+=can*itemHeight; eval(this.objL).clip.height+=can*itemHeight; } this.openChild=num; if(nav.isMac) for(var i=num+1;i<this.childs.length; i++) desplazaPor(eval(this.childs[i].objL),0,can*itemHeight); else for(var i=num+1;i<this.childs.length; i++) eval(this.childs[i]).desliza((parseInt(eval(this.childs[i].objL+t))+can*itemHeight)); } else // dir==false -> up { if(nav.isNN) { eval(this.objC).clip.height+=-can*itemHeight; eval(this.objL).clip.height+=-can*itemHeight; } if(!flag) this.openChild=-1; for(var i=num+1; i<this.childs.length; i++) desplazaPor(eval(this.childs.objL),0,-can*itemHeight); } if(this.level>0) this.parent.moveChilds(this.id,can,dir, true) } |
| |||
Re: ayudenme , quien tiene este menu o su codigo function click() { if(this.childs!=null && this.childs.length>0) this.extendChilds(); if(this.link!="" && this.link!=undefined) this.openURL(); } function extendChilds() { if(!deslizando && !creando) { if(this.isOpen) this.extend(false); else this.extend(true); setPath(this.getPath()); } return false; } var isOk=true; function openURL() { if(isOk) { if(this.link.substring(0,11)=="javascript:&qu ot;) eval(this.link.substring(11)); else { var href=this.link; if(disableCache && href.indexOf("?")!=-1) { var date = new Date(); href+="&p="+date.getTime(); } if(linkTarget!="") eval("parent."+linkTarget+".locatio n.href=href;"); else document.location.href=href; isOk=false; setTimeout("isOk=true;", linkDelay); } setPath(this.getPath()); } return false; } function setPath(path) { if(pathTarget!="") { var fr=eval("parent."+pathTarget) if(fr!=undefined) { if(nav.isIE) { if(fr.path!=undefined) fr.path.innerHTML="&nbsp;&nbsp;" +path; } else if(nav.isNN) { if(fr.document.pathAbsolute!=undefined) { fr.document.pathAbsolute.document.open(); fr.document.pathAbsolute.document.write("< FONT face='verdana' size=0>"+ path+"</FONT>"); fr.document.pathAbsolute.document.close(); } } } } } function getPath() { var p=""; if(this.path==null || this.path==undefined) { if(this.childs!=null && this.childs.length>0) p=this.text+"&nbsp;/"; else p="<B>"+this.text+"</B>"; var obj=this.parent; while(obj!=null && obj.level>0) { p=obj.text+"&nbsp;/&nbsp;"+p; obj=obj.parent; } } else p=this.path; return p; } function initMenu() { creando=true; this.setVisible(false) window.status="Please wait."; setMaxHeight(); // setPath(""); } |
| |||
Re: ayudenme , quien tiene este menu o su codigo function endMenu() { creando=false; window.onresize=this.restore; this.setVisible(true); window.status="Ready."; } function preload(imgObj,imgSrc) { if (document.images) { eval(imgObj+' = new Image()'); eval(imgObj+'.src = "'+imgSrc+'"'); } } function addTabsToMenu() { // window.onresize=this.restore; eval(this.name+"Tabs=new ScrollTabs('"+this.name+"Tabs', '"+this.name+"Tot');"); this.tabs=eval(this.name+"Tabs;"); } function ScrollTabs(name, layerTot) { this.menuName=layerTot.substring(0,layerTot.indexO f("Tot")); this.name=name; var tot=layerTot; if(nav.isIE) { this.layer=this.menuName+"L"; this.tab1=this.layer+"Tab1"; this.tab2=this.layer+"Tab2"; } else if(nav.isNN) { this.layer="document."+this.menuName+&qu ot;Tot.document."+this.menuName+"L" ; this.tab1=this.layer+"Tab1"; this.tab2=this.layer+"Tab2"; tot="document."+this.menuName+"Tot& quot;; } desplaza(eval(this.tab1),0,-tabHeight); desplaza(eval(this.tab2),0,maxHeight+tabHeight); this.upOver=tabUpOver; this.upOut=tabUpOut; this.downOver=tabDownOver; this.downOut=tabDownOut; var aux1=""; var aux2=""; if(nav.isIE) { aux1=" onMouseOver='"+this.name+".upOver()' onMouseOut='"+this.name+".upOut()'" ; aux2=" onMouseOver='"+this.name+".downOver()' onMouseOut='"+this.name+".downOut()'&quo t;; } this.newHeight=newHeight; this.on=false; eval(tot+h+"="+(maxHeight+2*tabHeight)); eval(tot+w+"="+itemHeight); if(nav.isIE) eval(tot+c+"='rect(0px "+itemWidth+"px "+(maxHeight+2*tabHeight)+"px 0px)';"); else if(nav.isNN) { eval(tot).clip.height=(maxHeight+2*tabHeight); eval(tot).layers[1].captureEvents(Event.MOUSEOUT | Event.MOUSEOVER); eval(tot).layers[1].tabObj=this; eval(tot).layers[1].onmouseover=tabUpOver; eval(tot).layers[1].onmouseout=tabUpOut; eval(tot).layers[2].captureEvents(Event.MOUSEOUT | Event.MOUSEOVER); eval(tot).layers[2].tabObj=this; eval(tot).layers[2].onmouseover=tabDownOver; eval(tot).layers[2].onmouseout=tabDownOut; } this.newHeight(eval(layerTot.substring(0,layerTot. length-3)+".childs.length")*itemHeight); } var menuToMove; var moveMenuDir; var menuHeight; var menuIni; var desMenuTimer; var tabover=false; function moveMenu() { if(moveMenuDir=="up") { if(parseInt(eval(menuToMove+t))<menuIni) { var i=incDes; if(parseInt(eval(menuToMove+t))>=menuIni-incDes) i=menuIni-parseInt(eval(menuToMove+t)); desplazaPor(eval(menuToMove),0,i); } else clearInterval(desMenuTimer); } else if(moveMenuDir=="down") { if(parseInt(eval(menuToMove+t))+menuHeight>menu Ini+maxHeight) { var i=incDes; if(parseInt(eval(menuToMove+t))+menuHeight<=men uIni+maxHeight+incDes) i=parseInt(eval(menuToMove+t))+menuHeight-menuIni-maxHeight; desplazaPor(eval(menuToMove),0,-i); } else clearInterval(desMenuTimer); } } |
| |||
Re: ayudenme , quien tiene este menu o su codigo function tabUpOver() { if(!tabover) { tabover=true; if(nav.isIE) var tabObj=this; else if(nav.isNN) var tabObj=this.tabObj; menuIni=tabHeight; menuHeight=tabObj.height; if(!deslizando && !creando) { if(parseInt(eval(tabObj.layer+t))<tabHeight) { clearInterval(tabObj.timer); moveMenuDir="up"; menuToMove=tabObj.layer; desMenuTimer=setInterval("moveMenu();", timeDes*20); } } } } function tabUpOut() { tabover=false; if(nav.isIE) var tabObj=this; else if(nav.isNN) var tabObj=this.tabObj; clearInterval(desMenuTimer); } function tabDownOver() { if(!tabover) { tabover=true; if(nav.isIE) var tabObj=this; else if(nav.isNN) var tabObj=this.tabObj; menuIni=tabHeight; menuHeight=tabObj.height; if(!deslizando && !creando) { if(parseInt(eval(tabObj.layer+t))+tabObj.height> ;(tabHeight+maxHeight)) { clearInterval(tabObj.timer); menuToMove=tabObj.layer; moveMenuDir="down"; desMenuTimer=setInterval("moveMenu();", timeDes*20); } } } } function tabDownOut() { tabover=false; if(nav.isIE) var tabObj=this; else if(nav.isNN) var tabObj=this.tabObj; clearInterval(desMenuTimer); } function newHeight(height) { this.height=height; if(this.height>(maxHeight+2*tabHeight)) { eval(this.tab1+v+"=\""+visible+&quo t;\";"); eval(this.tab2+v+"=\""+visible+&quo t;\";"); desplaza(eval(this.tab1),0,0); desplaza(eval(this.tab2),0,maxHeight+tabHeight); if(!this.on) desplaza(eval(this.layer),0,tabHeight); this.on=true; } else { eval(this.tab1+v+"=\""+hidden+" ;\";"); eval(this.tab2+v+"=\""+hidden+" ;\";"); desplaza(eval(this.tab1),0,-tabHeight); desplaza(eval(this.layer),0,0); this.on=false; } } function setMaxHeight() { if(nav.isIE) maxHeight=document.body.clientHeight-tabHeight*2; else if(nav.isNN) { var aux=5; if(nav.isMac) aux=0; maxHeight=window.innerHeight-tabHeight*2+aux; } } |
| |||
Re: ayudenme , quien tiene este menu o su codigo function restore() { var oldMaxHeight=maxHeight; setMaxHeight(); if(maxHeight!=oldMaxHeight) { var tot=this.menu.name+"Tot"; if(nav.isIE) { eval(tot).style.height=maxHeight+2*tabHeight; eval(tot).style.clip='rect(0px '+itemWidth+'px '+(maxHeight+2*tabHeight)+'px 0px)'; } else if(nav.isNN) { tot="document."+this.menu.name+"Tot "; eval(tot).height=maxHeight+2*tabHeight; eval(tot).clip.height=maxHeight+2*tabHeight; } this.menu.tabs.newHeight(this.menu.tabs.height); } if(nav.isNN) { var va=eval("parent."+linkTarget); if(va!=undefined) va.reload=false; history.go(0); } } var activeWindowLocale; function setActiveWindowLocale(l) { if(activeWindowLocale!=undefined && l!=activeWindowLocale) eval("parent."+pathTarget+".history .go(0);"); } function entrarMenu(obj) { if (!obj.contains(event.fromElement)) obj.style.cursor = "hand"; //Rojo obj.style.color="#CC0000" //Azul Claro //obj.style.color="#C6DFEC" //Azul Oscuro //obj.style.color="#013F71" } function salirMenu(obj) { if (!obj.contains(event.toElement)) obj.style.cursor = "default"; obj.style.color="#000000" } //--> |
| |||
Re: ayudenme , quien tiene este menu o su codigo a ver si para la otra me solicitas un codigo un poco mas complejo porque este estaba muy sencillo. o ya de perdida que sea un poquito mas largo. je je je |