Diegosz 0 Denunciar post Postado Julho 28, 2003 Galera de plantão... Deve ser bem simples no DW mas eu ainda naum sei. Como faço este menu: Exemplo Abraço, Diego Souza Compartilhar este post Link para o post Compartilhar em outros sites
Algalord 0 Denunciar post Postado Julho 28, 2003 Cara...apesar q nunca ter tentado fazer um menu assim, sei q eh com layers e a timeline do DW Compartilhar este post Link para o post Compartilhar em outros sites
graffdesign 0 Denunciar post Postado Julho 28, 2003 A teoria e essa agora abra o link e se vira nos trinta gartão... menu pop up Compartilhar este post Link para o post Compartilhar em outros sites
Diegosz 0 Denunciar post Postado Julho 28, 2003 Credo.... muito boa esta dica galera...Vou testar isto hj a noite... volto a postar o meu sucesso ou não ... aki.."Balews..." :) Compartilhar este post Link para o post Compartilhar em outros sites
sitenovo 0 Denunciar post Postado Julho 29, 2003 Seguinte, Eis ao codigo do menu dessa pagina que você mencionou, é so a pagina do codigo, pois ele usa frames... muitos frames.. p/ dspistar copias... hehe.. mas ta ai a copia... divirta-se: <html> <head> <title>CCSP</title> <script src="script/browserdetect.js"></SCRIPT> <script language=javascript> var layer= new String(); var style= new String(); var i, current; var running = 0; //browser check for layers if (is_nav5up){ style=".style"; } else if (is_nav4) { layer=".layers"; style=""; } else if (is_ie4up) { layer=".all"; style=".style"; } function rollOver(name){ hidelayer(); changeState(name+'menu','visible'); } function rollOut(name){ } var n,i,startLeft,endLeft; // var moveX = new Array(1.00, 0.80, 0.60, 0.45, 0.35, 0.27, 0.21, 0.16, 0.12, 0.09, 0.07, 0.06, 0.05, 0.04, 0.03, 0.02, 0.01, 0.005, 0.0025, 0.00); var moveX = new Array(1.00, 0.85, 0.64, 0.48, 0.37, 0.28, 0.21, 0.16, 0.12, 0.09, 0.068, 0.05, 0.036, 0.022, 0.01, 0.00); //layer visibility function changeState(layerRef,state){ if (is_nav5up){ evallayer="document.getElementById('"+layerRef+"').style.visibility='"+state+"'"; } else{ evallayer="document"+layer+"['"+layerRef+"']"+style+".visibility='"+state+"'"; } if(current != layerRef) { current = layerRef; running = 1; n = -1; i = 630; startLeft = 630; endLeft = -5; eval(evallayer); moveLayer(i,layerRef); } else { eval(evallayer); } } function moveLayer(i,layerRef){ if (is_nav5up){ evallayer="document.getElementById('"+layerRef+"').style.left="+i; } else{ evallayer="document"+layer+"['"+layerRef+"']"+style+".left="+i; } if((i>endLeft) && (running==1) && (current==layerRef)) { n++; i = (startLeft*moveX[n])+endLeft; eval(evallayer); setTimeout('moveLayer('+i+',"'+layerRef+'")',25); // Velocidade da Layer } else if((running==1) && (current==layerRef)) { running = 0; } } //hide all layers except the main one function hidelayer(){ if (is_nav5up){ eval("document.getElementById('ummenu').style.visibility='hidden'"); eval("document.getElementById('doismenu').style.visibility='hidden'"); eval("document.getElementById('tresmenu').style.visibility='hidden'"); eval("document.getElementById('quatromenu').style.visibility='hidden'"); eval("document.getElementById('cincomenu').style.visibility='hidden'"); } else{ eval("document"+layer+"['ummenu']"+style+".visibility='hidden'"); eval("document"+layer+"['doismenu']"+style+".visibility='hidden'"); eval("document"+layer+"['tresmenu']"+style+".visibility='hidden'"); eval("document"+layer+"['quatromenu']"+style+".visibility='hidden'"); eval("document"+layer+"['cincomenu']"+style+".visibility='hidden'"); } } </SCRIPT> <script language="JavaScript"> function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a.indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a;}} } function MM_findObj(n, d) { //v3.0 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers.document); return x; } function MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) if ((x=MM_findObj(a))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} } function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a)&&x.oSrc;i++) x.src=x.oSrc; } function MM_showHideLayers() { //v3.0 var i,p,v,obj,args=MM_showHideLayers.arguments; for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args))!=null) { v=args[i+2]; if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; } obj.visibility=v; } } </script> <STYLE type=text/css> .submenu { LEFT: 4px; POSITION: absolute; TOP: 37px; VISIBILITY: hidden; Z-INDEX: 2 } </STYLE> </head> <body bgcolor="#9F9F9F" scroll="no" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0" onLoad="MM_preloadImages('images/bt_anuario02.gif','images/bt_anuarios01.gif','images/bt_oclube01.gif','images/bt_clubeon01.gif','images/bt_sangue01.gif','images/bt_manual01.gif','images/bt_busca01.gif','images/bt_anuario01_2.gif','images/bt_anuarios02.gif','images/sub01/bt01_02.gif','images/sub01/bt02_02.gif','images/sub01/bt03_02.gif','images/sub01/bt04_02.gif')"> <table border="0" cellspacing="0" cellpadding="0"> <tr><td bgcolor="#9F9F9F"><img src="images/blank.gif" width="1" height="1" border="0"></td></tr> <tr><td bgcolor="#000000"> <table border="0" cellspacing="0" cellpadding="0"> <tr> <td><a href="28anuario/index28.htm" onMouseOut="rollOut('um');" onMouseOver="rollOver('um'); MM_swapImage('bt1','','images/bt_anuario02_2.gif','bt2','','images/bt_anuarios01.gif','bt3','','images/bt_oclube01.gif','bt4','','images/bt_clubeon01.gif','bt5','','images/bt_sangue01.gif','bt6','','images/bt_manual01.gif','bt7','','images/bt_busca01.gif',1)" target="alvo"><img src="images/bt_anuario01_2.gif" name="bt1" width="111" height="36" border="0"></a></td> <td><a href="anuarios/index_anuario.htm" onMouseOut="rollOut('dois');" onMouseOver="rollOver('dois'); MM_swapImage('bt1','','images/bt_anuario01_2.gif','bt2','','images/bt_anuarios02.gif','bt3','','images/bt_oclube01.gif','bt4','','images/bt_clubeon01.gif','bt5','','images/bt_sangue01.gif','bt6','','images/bt_manual01.gif','bt7','','images/bt_busca01.gif',1)" target="alvo"><img src="images/bt_anuarios01.gif" name="bt2" width="98" height="36" border="0"></a></td> <td><a href="oclube/index_oclube.htm" onMouseOut="rollOut('tres');" onMouseOver="rollOver('tres'); MM_swapImage('bt1','','images/bt_anuario01_2.gif','bt2','','images/bt_anuarios01.gif','bt3','','images/bt_oclube02.gif','bt4','','images/bt_clubeon01.gif','bt5','','images/bt_sangue01.gif','bt6','','images/bt_manual01.gif','bt7','','images/bt_busca01.gif',1)" target="alvo"><img src="images/bt_oclube01.gif" name="bt3" width="87" height="36" border="0"></a></td> <td><a href="clubeonline/index_clubeonline.htm" onMouseOut="rollOut('quatro');" onMouseOver="rollOver('quatro'); MM_swapImage('bt1','','images/bt_anuario01_2.gif','bt2','','images/bt_anuarios01.gif','bt3','','images/bt_oclube01.gif','bt4','','images/bt_clubeon02.gif','bt5','','images/bt_sangue01.gif','bt6','','images/bt_manual01.gif','bt7','','images/bt_busca01.gif',1)" target="alvo"><img src="images/bt_clubeon01.gif" name="bt4" width="107" height="36" border="0"></a></td> <td><a href="sangue/index_sangue.htm" onMouseOut="rollOut('cinco');" onMouseOver="rollOver('cinco');MM_swapImage('bt2','','images/bt_anuarios01.gif','bt3','','images/bt_oclube01.gif','bt4','','images/bt_clubeon01.gif','bt5','','images/bt_sangue02.gif','bt6','','images/bt_manual01.gif','bt7','','images/bt_busca01.gif',1)" target="alvo"><img src="images/bt_sangue01.gif" name="bt5" width="121" height="36" border="0" onMouseOver="MM_showHideLayers('tampo','','show')"></a></td> <td><a href="manual/index_manual.htm" onMouseOver="MM_swapImage('bt1','','images/bt_anuario01_2.gif','bt2','','images/bt_anuarios01.gif','bt3','','images/bt_oclube01.gif','bt4','','images/bt_clubeon01.gif','bt5','','images/bt_sangue01.gif','bt6','','images/bt_manual02.gif','bt7','','images/bt_busca01.gif',1);MM_showHideLayers('ummenu','','hide','doismenu','','hide','tresmenu','','hide','quatromenu','','hide','cincomenu','','hide')" target="alvo"><img src="images/bt_manual01.gif" name="bt6" width="179" height="36" border="0" onMouseOut="MM_swapImgRestore()"></a></td> <td><a href="busca/index_busca.htm" onMouseOver="MM_swapImage('bt1','','images/bt_anuario01_2.gif','bt2','','images/bt_anuarios01.gif','bt3','','images/bt_oclube01.gif','bt4','','images/bt_clubeon01.gif','bt5','','images/bt_sangue01.gif','bt6','','images/bt_manual01.gif','bt7','','images/bt_busca02.gif',1);MM_showHideLayers('ummenu','','hide','doismenu','','hide','tresmenu','','hide','quatromenu','','hide','cincomenu','','hide')" target="alvo"><img src="images/bt_busca01.gif" name="bt7" width="77" height="36" border="0" onMouseOut="MM_swapImgRestore()"></a></td> </tr> </table> </td></tr> <tr><td bgcolor="#303030"><img src="images/02_baixo.gif" width="780" height="35" border="0"></td></tr> </table> <!-- --> <div class=submenu id=ummenu name="ummenu"> <img src="images/02_baixo.gif" width="780" height="35" border="0"> <!-- <table border="0" cellspacing="0" cellpadding="0"> <tr> <td><a href="27anuario/index_exposicao.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('sub101','','images/sub01_1/bt01_02.gif',1)" target="alvo"><img name="sub101" src="images/sub01_1/bt01_01.gif" width="101" height="35" border="0"></a></td> <td><a href="27anuario/index_juri.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('sub102','','images/sub01_1/bt02_02.gif',1)" target="alvo"><img name="sub102" src="images/sub01_1/bt02_01.gif" width="59" height="35" border="0"></a></td> <td><a href="27anuario/index_resultado.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('sub103','','images/sub01_1/bt03_02.gif',1)" target="alvo"><img name="sub103" src="images/sub01_1/bt03_01.gif" width="111" height="35" border="0"></a></td> <td><a href="27anuario/index_premiosoc.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('sub104','','images/sub01_1/bt04_02.gif',1)" target="alvo"><img name="sub104" src="images/sub01_1/bt04_01.gif" width="117" height="35" border="0"></a></td> <td><a href="27anuario/index_premioanun.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('sub105','','images/sub01_1/bt05_02.gif',1)" target="alvo"><img name="sub105" src="images/sub01_1/bt05_01.gif" width="158" height="35" border="0"></a></td> </tr> </table> --> </div> <div class=submenu id=doismenu name="doismenu"> <table border="0" cellspacing="0" cellpadding="0"> <tr> <td><img src="images/blank.gif" width="110" height="1" border="0"></td> <td><a href="anuarios/index_anuario.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('sub201','','images/sub02/bt01_02.gif',1)" target="alvo"><img src="images/sub02/bt01_01.gif" name="sub201" width="87" height="35" border="0"></a></td> <!-- Ranking comentado <td><a href="anuarios/index_ranking" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('sub202','','images/sub02/bt02_02.gif',1)" target="alvo"><img src="images/sub02/bt02_01.gif" name="sub202" width="86" height="35" border="0"></a></td> --> </tr> </table> </div> <div class=submenu id=tresmenu name="tresmenu"> <table border="0" cellspacing="0" cellpadding="0"> <tr> <td><a href="oclube/index_conheca.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('sub301','','images/sub03/bt01_02.gif',1)" target="alvo"><img name="sub301" border="0" src="images/sub03/bt01_01.gif" width="134" height="35"></a></td> <td><a href="oclube/index_assoc.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('sub302','','images/sub03/bt02_02.gif',1)" target="alvo"><img name="sub302" border="0" src="images/sub03/bt02_01.gif" width="99" height="35"></a></td> <td><a href="oclube/index_socios.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('sub303','','images/sub03/bt03_02.gif',1)" target="alvo"><img name="sub303" border="0" src="images/sub03/bt03_01.gif" width="126" height="35"></a></td> <td><a href="oclube/index_atual.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('sub304','','images/sub03/bt04_02.gif',1)" target="alvo"><img name="sub304" border="0" src="images/sub03/bt04_01.gif" width="129" height="35"></a></td> <td><a href="oclube/index_diretoria.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('sub305','','images/sub03/bt05_02.gif',1)" target="alvo"><img name="sub305" border="0" src="images/sub03/bt05_01.gif" width="168" height="35"></a></td> <td><a href="oclube/index_mapa.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('sub306','','images/sub03/bt06_02.gif',1)" target="alvo"><img name="sub306" border="0" src="images/sub03/bt06_01.gif" width="94" height="35"></a></td> <td><a href="oclube/index_info.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('sub307','','images/sub03/bt07_02.gif',1)" target="alvo"><img name="sub307" border="0" src="images/sub03/bt07_01.gif" width="30" height="35"></a></td> </tr> </table> </div> <div class=submenu id=quatromenu name="quatromenu"> <table border="0" cellspacing="0" cellpadding="0"> <tr> <td><img src="images/blank.gif" width="15" height="1" border="0"></td> <td><a href="clubeonline/index_ultimas.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('sub401','','images/sub04/bt01_02.gif',1)" target="alvo"><img name="sub401" border="0" src="images/sub04/bt01_01.gif" width="78" height="35"></a></td> <td><a href="clubeonline/index_novo.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('sub402','','images/sub04/bt02_02.gif',1)" target="alvo"><img name="sub402" border="0" src="images/sub04/bt02_01.gif" width="69" height="35"></a></td> <td><a href="clubeonline/index_entrevista.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('sub403','','images/sub04/bt03_02.gif',1)" target="alvo"><img name="sub403" border="0" src="images/sub04/bt03_01.gif" width="102" height="35"></a></td> <td><a href="clubeonline/index_opiniao.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('sub404','','images/sub04/bt04_02.gif',1)" target="alvo"><img name="sub404" border="0" src="images/sub04/bt04_01.gif" width="82" height="35"></a></td> <td><a href="clubeonline/index_humor.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('sub405','','images/sub04/bt05_02.gif',1)" target="alvo"><img name="sub405" border="0" src="images/sub04/bt05_01.gif" width="76" height="35"></a></td> <td><a href="clubeonline/index_busca.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('sub406','','images/sub04/bt06_02.gif',1)" target="alvo"><img name="sub406" border="0" src="images/sub04/bt06_01.gif" width="70" height="35"></a></td> <td><a href="clubeonline/index_arquivo.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('sub407','','images/sub04/bt07_02.gif',1)" target="alvo"><img name="sub407" border="0" src="images/sub04/bt07_01.gif" width="85" height="35"></a></td> <td><a href="clubeonline/index_cadastro.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('sub408','','images/sub04/bt08_02.gif',1)" target="alvo"><img name="sub408" border="0" src="images/sub04/bt08_01.gif" width="113" height="35"></a></td> <td><a href="clubeonline/index_contato.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('sub409','','images/sub04/bt09_02.gif',1)" target="alvo"><img name="sub409" border="0" src="images/sub04/bt09_01.gif" width="89" height="35"></a></td> </tr> </table> </div> <div class=submenu id=cincomenu name="cincomenu"> <table width="603" border="0" cellspacing="0" cellpadding="0"> <tr> <td><img src="images/blank.gif" width="402" height="1" border="0"></td> <td><a href="sangue/index_curriculo.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('sub501','','images/sub05/bt01_02.gif',1)" target="alvo"><img name="sub501" border="0" src="images/sub05/bt01_01.gif" width="172" height="35"></a></td> <td><a href="sangue/index_precisase.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('sub502','','images/sub05/bt02_02.gif',1)" target="alvo"><img name="sub502" border="0" src="images/sub05/bt02_01.gif" width="106" height="35"></a></td> </tr> </table> </div> </body> </html> []s Rodney Compartilhar este post Link para o post Compartilhar em outros sites