leozeferino 0 Denunciar post Postado Novembro 25, 2005 Faaaaala.Estou montando uma layer que se mova no site, porém não estou achando o Timeline no Dreamweaver MX 2004. Já procurei sobre no site do imasters, tentei pressionar Alt+F9, Shift+F9, fui no menu "Window" e não achei o Timeline. Alguém poderia me ajudar a achar o fujão?Valewsss! Compartilhar este post Link para o post Compartilhar em outros sites
Douglas 6 Denunciar post Postado Novembro 25, 2005 Instale a atualização 7.0.1, para que ela seja instalada. A versão 7.0 não tem a time-line. Compartilhar este post Link para o post Compartilhar em outros sites
leozeferino 0 Denunciar post Postado Novembro 25, 2005 Instale a atualização 7.0.1, para que ela seja instalada. A versão 7.0 não tem a time-line.Valewss Douglas. Era isso mesmo. Agora já está aparecendo. http://forum.imasters.com.br/public/style_emoticons/default/joia.gif http://forum.imasters.com.br/public/style_emoticons/default/joia.gif Já aproveitando, eu estou fazendo uma layer que se movimenta sob o site (que nem os anuncios dos portais). Nessa layer tem uma animação em flash. Quando eu faço essa layer se movimentar num arquivo teste (html) ela se movimenta certinho. Porém, quando faço essa layer se movimentar no arquivo original (em asp), ela não executa o movimento. Não sei o que pode estar errado. Já verifiquei se o evento está no <body>, verifiquei se o código em javascript está no <head>, verifiquei o Timeline...está tudo certo. O que pode estar ocorrendo de errado? Será que esse movimento da layer não é aceito em arquivos asp? Ou algum código do asp está bloqueando a ação do código?Se tiver alguma sugestão....Valewss desde já.Abraços :D Compartilhar este post Link para o post Compartilhar em outros sites
leozeferino 0 Denunciar post Postado Novembro 26, 2005 alguémmmmm, por favorrr!!! Compartilhar este post Link para o post Compartilhar em outros sites
Douglas 6 Denunciar post Postado Novembro 27, 2005 Dificil de saber, eu te recomendaria refazer a página. Compartilhar este post Link para o post Compartilhar em outros sites
leozeferino 0 Denunciar post Postado Novembro 28, 2005 Nossa cara, é bem grandinho o código. Mas vê se você entende. Nessa página existe um código do tipo caixa com nomes com setinha para rolagem. Será que pode estar havendo conflito entre esses códigos? Olhe o exemplo da caixa com nomes: _______________________ | Nome 1 ^ | | Nome 2 | | | Nome 3 | | | Nome 4 | | | | | | ^ | |_____________________ | Código <html><head><title>xxxx</title><style><!--a { text-decoration: none}a:hover { text-decoration: underline; color: #000000}</style> <% ASP %><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[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}} 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[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}} function MM_openBrWindow(theURL,winName,features) { //v2.0 window.open(theURL,winName,features);} function MM_findObj(n, d) { //v4.01 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[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); if(!x && d.getElementById) x=d.getElementById(n); return x;} 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[i]))!=null) { v=args[i+2]; if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; } obj.visibility=v; }} function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;} function MM_timelinePlay(tmLnName, myID) { //v1.2 //Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004 Macromedia, Inc. All rights reserved. var i,j,tmLn,props,keyFrm,sprite,numKeyFr,firstKeyFr,propNum,theObj,firstTime=false; if (document.MM_Time == null) MM_initTimelines(); //if *very* 1st time tmLn = document.MM_Time[tmLnName]; if (myID == null) { myID = ++tmLn.ID; firstTime=true;}//if new call, incr ID if (myID == tmLn.ID) { //if Im newest setTimeout('MM_timelinePlay("'+tmLnName+'",'+myID+')',tmLn.delay); fNew = ++tmLn.curFrame; for (i=0; i<tmLn.length; i++) { sprite = tmLn[i]; if (sprite.charAt(0) == 's') { if (sprite.obj) { numKeyFr = sprite.keyFrames.length; firstKeyFr = sprite.keyFrames[0]; if (fNew >= firstKeyFr && fNew <= sprite.keyFrames[numKeyFr-1]) {//in range keyFrm=1; for (j=0; j<sprite.values.length; j++) { props = sprite.values[j]; if (numKeyFr != props.length) { if (props.prop2 == null) sprite.obj[props.prop] = props[fNew-firstKeyFr]; else sprite.obj[props.prop2][props.prop] = props[fNew-firstKeyFr]; } else { while (keyFrm<numKeyFr && fNew>=sprite.keyFrames[keyFrm]) keyFrm++; if (firstTime || fNew==sprite.keyFrames[keyFrm-1]) { if (props.prop2 == null) sprite.obj[props.prop] = props[keyFrm-1]; else sprite.obj[props.prop2][props.prop] = props[keyFrm-1]; } } } } } } else if (sprite.charAt(0)=='b' && fNew == sprite.frame) eval(sprite.value); if (fNew > tmLn.lastFrame) tmLn.ID = 0; } }} function MM_initTimelines() { //v4.0 //MM_initTimelines() Copyright 1997 Macromedia, Inc. All rights reserved. var ns = navigator.appName == "Netscape"; var ns4 = (ns && parseInt(navigator.appVersion) == 4); var ns5 = (ns && parseInt(navigator.appVersion) > 4); document.MM_Time = new Array(1); document.MM_Time[0] = new Array(1); document.MM_Time["Timeline1"] = document.MM_Time[0]; document.MM_Time[0].MM_Name = "Timeline1"; document.MM_Time[0].fps = 15; document.MM_Time[0][0] = new String("sprite"); document.MM_Time[0][0].slot = 1; if (ns4) document.MM_Time[0][0].obj = document["dhtml"]; else if (ns5) document.MM_Time[0][0].obj = document.getElementById("dhtml"); else document.MM_Time[0][0].obj = document.all ? document.all["dhtml"] : null; document.MM_Time[0][0].keyFrames = new Array(1, 25); document.MM_Time[0][0].values = new Array(2); if (ns5) document.MM_Time[0][0].values[0] = new Array("95px", "95px", "95px", "95px", "95px", "95px", "95px", "95px", "95px", "95px", "95px", "95px", "95px", "95px", "95px", "95px", "95px", "95px", "95px", "95px", "95px", "95px", "95px", "95px", "95px"); else document.MM_Time[0][0].values[0] = new Array(95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95); document.MM_Time[0][0].values[0].prop = "left"; if (ns5) document.MM_Time[0][0].values[1] = new Array("55px", "57px", "59px", "62px", "64px", "66px", "68px", "70px", "72px", "75px", "77px", "79px", "81px", "83px", "85px", "88px", "90px", "92px", "94px", "96px", "98px", "101px", "103px", "105px", "107px"); else document.MM_Time[0][0].values[1] = new Array(55,57,59,62,64,66,68,70,72,75,77,79,81,83,85,88,90,92,94,96,98,101,103,105,107); document.MM_Time[0][0].values[1].prop = "top"; if (!ns4) { document.MM_Time[0][0].values[0].prop2 = "style"; document.MM_Time[0][0].values[1].prop2 = "style"; } document.MM_Time[0].lastFrame = 25; for (i=0; i<document.MM_Time.length; i++) { document.MM_Time[i].ID = null; document.MM_Time[i].curFrame = 0; document.MM_Time[i].delay = 1000/document.MM_Time[i].fps; }}//--></script></head><body bgcolor="#FFFFFF" text="#000000" link="#000000" vlink="#000000" alink="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="MM_preloadImages('../parceiros/seja_parceiro02.jpg','../imgs/menu01/construtores_link02.jpg','../imgs/menu01/decoradores_link02.jpg','../imgs/menu01/fornecedores_link02.jpg','../imgs/menu01/produtos_link02.jpg','../imgs/menu01/voltar_portal_link_02.jpg');MM_timelinePlay('Timeline1')"> <div id="fundodhtml" style="FILTER: Alpha(Opacity=80); position:absolute; left:75px; top:35px; width:340px; height:290px; z-index:4; background-color: #FFFFFF; layer-background-color: #FFFFFF; border: 1px none #000000; visibility: visible;"></div> <div id="fechar" style="position:absolute; left:320px; top:40px; width:77px; height:25px; z-index:5; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; visibility: visible;"> <div align="right"><a href="#" class="style2" onClick="MM_showHideLayers('fundodhtml','','hide','fechar','','hide','dhtml','','hide')">Fechar</a></div></div> <div id="dhtml" style="position:absolute; left:95px; top:107px; width:300px; height:250px; z-index:5; border: 1px none #000000; visibility: visible;"> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="300" height="250"> <param name="movie" value="../parceiros/dhtml_parceiro01.swf"> <param name="quality" value="high"> <embed src="../parceiros/dhtml_parceiro01.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="300" height="250"></embed> </object></div> <table border="0" cellspacing="0" cellpadding="0" width="775"> <tr> <td> <table border="0" cellspacing="0" cellpadding="0" width="775"> <tr> <td colspan="3" valign="top" bgcolor="#0099FF"> <table width="656" border="0" cellspacing="0" cellpadding="0"> <tr> <td> <form name="cad" method="post" action="zzz.asp"> <table width="656" border="0" cellpadding="2" cellspacing="1" id="todoform" bgcolor="#1F4373"> <tr> <td width="119"><span class="style1"><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#FFFFFF">Busca de Arquitetos</font></span></td> <td width="176"> <div align="left" class="style1"><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#FFFFFF"> Cidade: <b> <select name="cidade" style="background-color: #FFFFF; font-weight: none; font-size: 9pt;"> <option value="">Qualquer</option> <%while not rstCity.eof%> <option value="<%=rstCity("Cidade")%>"><%=rstCity("Cidade")%></option> <%rstCity.movenextwend%> </select> </b></font> </div> </td> <td width="102"> <div align="left" class="style1"><font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#FFFFFF">UF: <b> <select name="uf" size="0" style="background-color: #FFFFF; font-weight: none; font-size: 9pt;"> <option value="">Todos</option> <%while not rstUF.eof%> <option value="<%=rstUF("Estado")%>"><%=rstUF("Estado")%></option> <%rstUF.movenextwend%> </select> </b></font></div> </td> <td width="190"> <div align="left" class="style1"><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#FFFFFF">Especialidade: <b> <select name="especialidade" style="background-color: #FFFFF; font-weight: none; font-size: 9pt;"> <option value="">Qualquer</option> <%while not rstEsp.eof%> <option value="<%=rstEsp("Especialidade")%>"><%=rstEsp("Especialidade")%></option> <%rstEsp.movenextwend%> </select> </b></font></div> </td> <td width="37"> <div align="left"><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#FFFFFF"> <input type=image src="imagens/bt_go.gif" name="image23" width="23" height="14"> </font></div> </td> </tr> </table></form> </td> </tr> </table> </td> <td width="110" bgcolor="#0099FF" height="2"> <font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#FFFFFF"><b> <div align="center"><font color="#1F4373" size="2">PARCEIROS</font></div> </b></font></td> </tr> <tr> <td colspan="3" valign="top"> <div align="left"> <table border="0" cellspacing="0" cellpadding="0" width="100"> <tr> <td valign="top" width="400"> <img src="imgs_arq/normal.jpg" width="400" height="259" name="princ"></td> <td valign="top"> <table width="176" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="192" valign="top" height="183"> <script type="text/javascript"> iens6=document.all||document.getElementByIdns4=document.layers //specify speed of scroll (greater=faster)var speed=5 if (iens6){document.write('<div id="container" style="position:relative;width:170px;height:215px;border:0px solid black;overflow:hidden">')document.write('<div id="content" style="position:absolute;width:170px;left:3;top:3">')}</script> <ilayer name="nscontainer" width=175 height=200 clip="0,0,175,160" left="1" top="51" visibility="show"> <layer name="nscontent" width=175 left="-57" top="-17" visibility="show"> <!--INSERT CONTENT HERE--> <div class="arq"> <%if rstTop.eof thenresponse.write ""elsecontt=0 while not rstTop.EOFif rstTop("Site")<>"" then%><a href="<%=rstTop("Site")%>" target="_blank" onMouseOver="MM_swapImage('princ','','imgs_arq/<%=rstTop("Imagem")%>.jpg',1)"><font color="#024C93"><%=rstTop("Nome")%></font></a><br><%else%><a href="#" onClick="MM_openBrWindow('mais_info_form01.asp?COD=<%=rstTop("Arq_ID")%>','','scrollbars=yes,resizable=yes,width=445,height=410')" onMouseOver="MM_swapImage('princ','','imgs_arq/<%=rstTop("Imagem")%>.jpg',1)"><font color="#024C93"><%=rstTop("Nome")%></font></a><br><%end if%><% rstTop.movenextcontt=contt+1wendend if%><%if not rstReg.eof thenconta=0 while not rstReg.EOFif rstReg("Imagem")<>"breve" and rstReg("Site")<>"" then%> <a href="<%=rstReg("Site")%>" target="_blank" onMouseOver="MM_swapImage('princ','','imgs_arq/<%=rstReg("Imagem")%>.jpg',1)"><font color="#024C93"><%=rstReg("Nome")%></font></a><br> <%elseif rstReg("Imagem")<>"breve" then%><a href="#" onMouseOver="MM_swapImage('princ','','imgs_arq/<%=rstReg("Imagem")%>.jpg',1)"><font color="#024C93"><%=rstReg("Nome")%></font></a><br><%else%><a href="#" onMouseOver="MM_swapImage('princ','','imgs_arq/<%=rstReg("Imagem")%>.jpg',1)"><%=rstReg("Nome")%></a><br><%end ifend if%> <% rstReg.movenext conta=conta+1wendend if %> </div> <!--END CONTENT--> </layer> </ilayer> <script language="JavaScript1.2">if (iens6)document.write('</div></div>')</script> </td> <td width="17" height="183" valign="top"> <table cellpadding="0" cellspacing="0" height="215" width="13"> <td height="2"> <p align="left"> <a href="#" onMouseOver="moveup()" onMouseOut="clearTimeout(moveupvar)"><img src="imagens/up1.gif" border=0 width="13" height="11"></a></p> </td> <tr> <td height="122"> <div align="center"><img src="imagens/traco1.gif" width="2" height="155"></div> </td> <tr> <td height="16"><a href="#" onMouseOver="movedown()" onMouseOut="clearTimeout(movedownvar)"><img src="imagens/dow1.gif" border=0 width="13" height="11"></a></td> </table> <script language="JavaScript1.2">if (iens6){var crossobj=document.getElementById? document.getElementById("content") : document.all.contentvar contentheight=crossobj.offsetHeight}else if (ns4){var crossobj=document.nscontainer.document.nscontentvar contentheight=crossobj.clip.height} function movedown(){if (iens6&&parseInt(crossobj.style.top)>=(contentheight*(-1)+180))crossobj.style.top=parseInt(crossobj.style.top)-speed+"px"else if (ns4&&crossobj.top>=(contentheight*(-1)+210))crossobj.top-=speedmovedownvar=setTimeout("movedown()",50)} function moveup(){if (iens6&&parseInt(crossobj.style.top)<=0)crossobj.style.top=parseInt(crossobj.style.top)+speed+"px"else if (ns4&&crossobj.top<=0)crossobj.top+=speedmoveupvar=setTimeout("moveup()",50) } function getcontent_height(){if (iens6)contentheight=crossobj.offsetHeightelse if (ns4)document.nscontainer.document.nscontent.visibility="show"}window.onload=getcontent_height</script> </td> <td width="10" height="183"> </td> </tr> </table> <div align="left"></div> <form name="busca" method="GET" action="index.asp" onkeypress="Verifica()"> <table width="100%" border="0" cellspacing="1" cellpadding="1" bgcolor="#1F4373"> <tr> <td height="2" width="7%"> <div align="center"><font face="Verdana, Arial, Helvetica, sans-serif" size="1"><a href="arquitetos.asp"><font color="#FFFFFF"><img src="imagens/seta01.jpg" width="13" height="13" border="0"></font></a></font></div> </td> <td height="2" width="93%"><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#FFFFFF">Busca Alfabética: <input type="text" name="letra" maxlength="1" size="1" style="background-color: #FFFFF; color: #000000; font-weight: none; border:1 solid color:#000000; font-size: 9pt;"> <input type=image src="imagens/bt_go.gif" name="image232" width="23" height="14" align="middle"> </font></td> </tr> <tr> <td valign="middle" width="7%"> <div align="left"><font face="Verdana, Arial, Helvetica, sans-serif" size="1"><a href="arquitetos.asp"><font color="#FFFFFF"><img src="imagens/seta01.jpg" width="13" height="13" border="0"></font></a></font></div> </td> <td valign="middle" width="93%"><font face="Verdana, Arial, Helvetica, sans-serif" size="1"><a href="index.asp"><font color="#FFFFFF">listar todos os nomes</font></a></font></td> </tr> </table> </form> </td> <td valign="top" width="69"> <table width="69" border="0" cellspacing="0" cellpadding="0" height="216"> <tr> <td bgcolor="#1F4373" valign="top" height="213"> <div align="center"><img src="imagens/selo_set05_01.jpg" width="66" height="256"></div> </td> </tr> </table> </td> </tr> <tr> <td colspan="3" height="6"> <table width="656" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="109"><img src="../imgs/menu01/galeria_de_links01.jpg" width="109" height="20"></td> <td width="109"><a href="../construtores/index.asp"><img src="../imgs/menu01/construtores_link01.jpg" alt="Galeria de Construtores" name="Image3" width="110" height="20" border="0" id="Image3" onMouseOver="MM_swapImage('Image3','','../imgs/menu01/construtores_link02.jpg',1)" onMouseOut="MM_swapImgRestore()"></a></td> <td width="110"><a href="../decoradores/index.asp"><img src="../imgs/menu01/decoradores_link01.jpg" alt="Galeria de Decoradores" name="Image4" width="109" height="20" border="0" id="Image4" onMouseOver="MM_swapImage('Image4','','../imgs/menu01/decoradores_link02.jpg',1)" onMouseOut="MM_swapImgRestore()"></a></td> <td width="109"><a href="../fornecedores/index.asp"><img src="../imgs/menu01/fornecedores_link01.jpg" alt="Galeria de Fornecedores" name="Image5" width="109" height="20" border="0" id="Image5" onMouseOver="MM_swapImage('Image5','','../imgs/menu01/fornecedores_link02.jpg',1)" onMouseOut="MM_swapImgRestore()"></a></td> <td width="53"><a href="../produtos/index.asp"><img src="../imgs/menu01/produtos_link01.jpg" alt="Galeria de Produtos" name="Image6" width="110" height="20" border="0" id="Image6" onMouseOver="MM_swapImage('Image6','','../imgs/menu01/produtos_link02.jpg',1)" onMouseOut="MM_swapImgRestore()"></a></td> <td width="166"><a href="../index.html"><img src="../imgs/menu01/voltar_portal_link_01.jpg" alt="PROCONSTRUÇÃO" name="Image7" width="109" height="20" border="0" id="Image7" onMouseOver="MM_swapImage('Image7','','../imgs/menu01/voltar_portal_link_02.jpg',1)" onMouseOut="MM_swapImgRestore()"></a></td> </tr> </table> </td> </tr> <tr> <td height="2" colspan="3"> <table width="100%" border="0" align="left"> <tr> <td width="33%" height="102"><a href="#" onClick="MM_openBrWindow('cadastro_arq.html','','scrollbars=yes,resizable=yes,width=415,height=480')"><img src="imagens/cadastrar_arquiteto.gif" name="Image1" width="220" height="90" border="0" usemap="#Image1Map" id="Image1"></a></td> <td width="31%"> <div align="center"><a href="http://www.prooficio.com.br" target="_blank"><img src="parceiros/prooficio01.jpg" width="185" height="90" border="0" alt="Instituto Prooficio"></a></div> </td> <td width="36%"> <div align="right"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="233" height="100" name="dgl net"> <param name=movie value="parceiros/dgl.swf"> <param name=quality value=high> <embed src="parceiros/dgl.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="233" height="100" name="dgl net"> </embed> </object></div> </td> </tr> </table> </td> </tr> </table> </div> </td> <td valign="top" width="110"> <table width="110" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="35"><img src="parceiros/hunter01.jpg" width="110" height="24" alt="HunterDouglas"></td> </tr> <tr> <td height="40"><a href="http://www.armstrong.com" target="_blank"><img src="parceiros/armstrong01.jpg" width="110" height="33" border="0" alt="Armstrong"></a></td> </tr> <tr> <td height="35"><a href="http://www.newside.com.br" target="_blank"><img src="parceiros/newside04.jpg" width="110" height="19" border="0" alt="Newside"></a></td> </tr> <tr> <td height="35"><img src="parceiros/solucon01.jpg" width="110" height="24" alt="Solucon"></td> </tr> <tr> <td height="40"><a href="http://www.eternit.com.br" target="_blank"><img src="parceiros/eternit01.jpg" width="110" height="27" border="0" alt="Eternit"></a></td> </tr> <tr> <td height="40"><a href="http://www.panduit.com.br" target="_blank"><img src="parceiros/panduit91.jpg" width="110" height="26" border="0" alt="Panduit"></a></td> </tr> <tr> <td height="55"><img src="parceiros/roberto01.jpg" width="110" height="46" alt="Roberto"></td> </tr> <tr> <td height="75"><img src="parceiros/eucafloor01.jpg" width="110" height="69" alt="EucaFloor"></td> </tr> <tr> <td height="5"> <div align="center"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><a href="../parceiros/politica.html" target="_blank"><img src="../parceiros/seja_parceiro01.jpg" alt="Seja um Parceiro" name="Image2" width="105" height="26" border="0" id="Image2" onMouseOver="MM_swapImage('Image2','','../parceiros/seja_parceiro02.jpg',1)" onMouseOut="MM_swapImgRestore()"></a></font></div> Compartilhar este post Link para o post Compartilhar em outros sites
leozeferino 0 Denunciar post Postado Novembro 28, 2005 Está faltando mais código, nao consegui rodar esse codigo aqui nem o htmlÉ que existe parte em ASP.Vou tirar a parte em asp, calmae. Compartilhar este post Link para o post Compartilhar em outros sites
leozeferino 0 Denunciar post Postado Novembro 28, 2005 <html><head><title>NOME</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><style><!--a { text-decoration: none}a:hover { text-decoration: underline; color: #000000} form {border: 0px;margin: 0px;padding: 0px;} a { text-decoration: none; font-size: 9px; color: #000000;} .arq { font-size: 9px; font-family: Verdana, Arial, Times New Woman; color: #000000; }.style1 {color: #000000}.style2 {font-size: 12px}.style3 {font-size: 9px}--></style><script language="JavaScript">function Verifica(){var caract = new RegExp(/^[a-z]+$/i);var caract = caract.test(String.fromCharCode(event.keyCode)); if(!caract){alert("Caracter inválido: " +String.fromCharCode(event.keyCode));event.keyCode=0;return;}}</script><script LANGUAGE="JavaScript"><!--function cidadeuf(){ //---- cidade if(cad.cidade.value.length>0 & cad.uf.value.length>0){ alert("Não é possível escolher Cidade e Estado juntos. Escolha OU a Cidade OU o Estado.") cad.cidade.focus(); return false; } return true } //--></script><% 'ASP%><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[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}} 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[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}} function MM_openBrWindow(theURL,winName,features) { //v2.0 window.open(theURL,winName,features);} function MM_findObj(n, d) { //v4.01 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[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); if(!x && d.getElementById) x=d.getElementById(n); return x;} 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[i]))!=null) { v=args[i+2]; if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; } obj.visibility=v; }} function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;} function MM_timelinePlay(tmLnName, myID) { //v1.2 //Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004 Macromedia, Inc. All rights reserved. var i,j,tmLn,props,keyFrm,sprite,numKeyFr,firstKeyFr,propNum,theObj,firstTime=false; if (document.MM_Time == null) MM_initTimelines(); //if *very* 1st time tmLn = document.MM_Time[tmLnName]; if (myID == null) { myID = ++tmLn.ID; firstTime=true;}//if new call, incr ID if (myID == tmLn.ID) { //if Im newest setTimeout('MM_timelinePlay("'+tmLnName+'",'+myID+')',tmLn.delay); fNew = ++tmLn.curFrame; for (i=0; i<tmLn.length; i++) { sprite = tmLn[i]; if (sprite.charAt(0) == 's') { if (sprite.obj) { numKeyFr = sprite.keyFrames.length; firstKeyFr = sprite.keyFrames[0]; if (fNew >= firstKeyFr && fNew <= sprite.keyFrames[numKeyFr-1]) {//in range keyFrm=1; for (j=0; j<sprite.values.length; j++) { props = sprite.values[j]; if (numKeyFr != props.length) { if (props.prop2 == null) sprite.obj[props.prop] = props[fNew-firstKeyFr]; else sprite.obj[props.prop2][props.prop] = props[fNew-firstKeyFr]; } else { while (keyFrm<numKeyFr && fNew>=sprite.keyFrames[keyFrm]) keyFrm++; if (firstTime || fNew==sprite.keyFrames[keyFrm-1]) { if (props.prop2 == null) sprite.obj[props.prop] = props[keyFrm-1]; else sprite.obj[props.prop2][props.prop] = props[keyFrm-1]; } } } } } } else if (sprite.charAt(0)=='b' && fNew == sprite.frame) eval(sprite.value); if (fNew > tmLn.lastFrame) tmLn.ID = 0; } }} function MM_initTimelines() { //v4.0 //MM_initTimelines() Copyright 1997 Macromedia, Inc. All rights reserved. var ns = navigator.appName == "Netscape"; var ns4 = (ns && parseInt(navigator.appVersion) == 4); var ns5 = (ns && parseInt(navigator.appVersion) > 4); document.MM_Time = new Array(1); document.MM_Time[0] = new Array(3); document.MM_Time["Timeline1"] = document.MM_Time[0]; document.MM_Time[0].MM_Name = "Timeline1"; document.MM_Time[0].fps = 15; document.MM_Time[0][0] = new String("sprite"); document.MM_Time[0][0].slot = 1; if (ns4) document.MM_Time[0][0].obj = document["fechar"]; else if (ns5) document.MM_Time[0][0].obj = document.getElementById("fechar"); else document.MM_Time[0][0].obj = document.all ? document.all["fechar"] : null; document.MM_Time[0][0].keyFrames = new Array(1, 20); document.MM_Time[0][0].values = new Array(2); if (ns5) document.MM_Time[0][0].values[0] = new Array("320px", "320px", "320px", "320px", "320px", "320px", "320px", "320px", "320px", "320px", "320px", "320px", "320px", "320px", "320px", "320px", "320px", "320px", "320px", "320px"); else document.MM_Time[0][0].values[0] = new Array(320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320); document.MM_Time[0][0].values[0].prop = "left"; if (ns5) document.MM_Time[0][0].values[1] = new Array("70px", "68px", "67px", "65px", "64px", "62px", "61px", "59px", "57px", "56px", "54px", "53px", "51px", "49px", "48px", "46px", "45px", "43px", "42px", "40px"); else document.MM_Time[0][0].values[1] = new Array(70,68,67,65,64,62,61,59,57,56,54,53,51,49,48,46,45,43,42,40); document.MM_Time[0][0].values[1].prop = "top"; if (!ns4) { document.MM_Time[0][0].values[0].prop2 = "style"; document.MM_Time[0][0].values[1].prop2 = "style"; } document.MM_Time[0][1] = new String("sprite"); document.MM_Time[0][1].slot = 2; if (ns4) document.MM_Time[0][1].obj = document["dhtml"]; else if (ns5) document.MM_Time[0][1].obj = document.getElementById("dhtml"); else document.MM_Time[0][1].obj = document.all ? document.all["dhtml"] : null; document.MM_Time[0][1].keyFrames = new Array(1, 20); document.MM_Time[0][1].values = new Array(2); if (ns5) document.MM_Time[0][1].values[0] = new Array("95px", "95px", "95px", "95px", "95px", "95px", "95px", "95px", "95px", "95px", "95px", "95px", "95px", "95px", "95px", "95px", "95px", "95px", "95px", "95px"); else document.MM_Time[0][1].values[0] = new Array(95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95,95); document.MM_Time[0][1].values[0].prop = "left"; if (ns5) document.MM_Time[0][1].values[1] = new Array("85px", "83px", "82px", "80px", "79px", "77px", "76px", "74px", "72px", "71px", "69px", "68px", "66px", "64px", "63px", "61px", "60px", "58px", "57px", "55px"); else document.MM_Time[0][1].values[1] = new Array(85,83,82,80,79,77,76,74,72,71,69,68,66,64,63,61,60,58,57,55); document.MM_Time[0][1].values[1].prop = "top"; if (!ns4) { document.MM_Time[0][1].values[0].prop2 = "style"; document.MM_Time[0][1].values[1].prop2 = "style"; } document.MM_Time[0][2] = new String("sprite"); document.MM_Time[0][2].slot = 3; if (ns4) document.MM_Time[0][2].obj = document["fundodhtml"]; else if (ns5) document.MM_Time[0][2].obj = document.getElementById("fundodhtml"); else document.MM_Time[0][2].obj = document.all ? document.all["fundodhtml"] : null; document.MM_Time[0][2].keyFrames = new Array(1, 20); document.MM_Time[0][2].values = new Array(2); if (ns5) document.MM_Time[0][2].values[0] = new Array("75px", "75px", "75px", "75px", "75px", "75px", "75px", "75px", "75px", "75px", "75px", "75px", "75px", "75px", "75px", "75px", "75px", "75px", "75px", "75px"); else document.MM_Time[0][2].values[0] = new Array(75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75); document.MM_Time[0][2].values[0].prop = "left"; if (ns5) document.MM_Time[0][2].values[1] = new Array("65px", "63px", "62px", "60px", "59px", "57px", "56px", "54px", "52px", "51px", "49px", "48px", "46px", "44px", "43px", "41px", "40px", "38px", "37px", "35px"); else document.MM_Time[0][2].values[1] = new Array(65,63,62,60,59,57,56,54,52,51,49,48,46,44,43,41,40,38,37,35); document.MM_Time[0][2].values[1].prop = "top"; if (!ns4) { document.MM_Time[0][2].values[0].prop2 = "style"; document.MM_Time[0][2].values[1].prop2 = "style"; } document.MM_Time[0].lastFrame = 20; for (i=0; i<document.MM_Time.length; i++) { document.MM_Time[i].ID = null; document.MM_Time[i].curFrame = 0; document.MM_Time[i].delay = 1000/document.MM_Time[i].fps; }}//--></script></head><body bgcolor="#FFFFFF" text="#000000" link="#000000" vlink="#000000" alink="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="MM_preloadImages('../parceiros/seja_parceiro02.jpg','../imgs/menu01/construtores_link02.jpg','../imgs/menu01/decoradores_link02.jpg','../imgs/menu01/fornecedores_link02.jpg','../imgs/menu01/produtos_link02.jpg','../imgs/menu01/voltar_portal_link_02.jpg');MM_timelinePlay('Timeline1')"><div id="fundodhtml" style="FILTER: Alpha(Opacity=80); position:absolute; left:75px; top:65px; width:340px; height:290px; z-index:4; background-color: #000000; layer-background-color: #000000; border: 1px none #000000; visibility: visible;"></div> <div id="fechar" style="position:absolute; left:320px; top:70px; width:77px; height:25px; z-index:5; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; visibility: visible;"> <div align="right"><a href="#" class="style2" onClick="MM_showHideLayers('fundodhtml','','hide','fechar','','hide','dhtml','','hide')">Fechar</a></div></div> <div id="dhtml" style="position:absolute; left:95px; top:85px; width:300px; height:250px; z-index:5; border: 1px none #000000; visibility: visible;"> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="300" height="250"> <param name="movie" value="../parceiros/dhtml_parceiro01.swf"> <param name="quality" value="high"> <embed src="../parceiros/dhtml_parceiro01.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="300" height="250"></embed> </object></div> <table border="0" cellspacing="0" cellpadding="0" width="775"> <tr> <td> <table border="0" cellspacing="0" cellpadding="0" width="775"> <tr> <td colspan="3" valign="top" bgcolor="#0099FF"> <table width="656" border="0" cellspacing="0" cellpadding="0"> <tr> <td> <form name="cad" method="post" action="index.asp" onsubmit="return cidadeuf()"> <table width="656" border="0" cellpadding="2" cellspacing="1" id="todoform" bgcolor="#1F4373"> <tr> <td width="119"><span class="style1"><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#FFFFFF">Busca de Arquitetos</font></span></td> <td width="176"> <div align="left" class="style1"><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#FFFFFF"> Cidade: <b> <select name="cidade" style="background-color: #FFFFF; font-weight: none; font-size: 9pt;"> <option value="">Qualquer</option> </select> </b></font> </div> </td> <td width="102"> <div align="left" class="style1"><font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#FFFFFF">UF: <b> <select name="uf" size="0" style="background-color: #FFFFF; font-weight: none; font-size: 9pt;"> <option value="">Todos</option> </select> </b></font></div> </td> <td width="190"> <div align="left" class="style1"><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#FFFFFF">Especialidade: <b> <select name="especialidade" style="background-color: #FFFFF; font-weight: none; font-size: 9pt;"> <option value="">Qualquer</option> </select> </b></font></div> </td> <td width="37"> <div align="left"><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#FFFFFF"> <input type=image src="imagens/bt_go.gif" name="image23" width="23" height="14"> </font></div> </td> </tr> </table></form> </td> </tr> </table> </td> <td width="110" bgcolor="#0099FF" height="2"> <font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#FFFFFF"><b> <div align="center"><font color="#1F4373" size="2">PARCEIROS</font></div> </b></font></td> </tr> <tr> <td colspan="3" valign="top"> <div align="left"> <table border="0" cellspacing="0" cellpadding="0" width="100"> <tr> <td valign="top" width="400"> <img src="imgs_arq/normal.jpg" width="400" height="259" name="princ"></td> <td valign="top"> <table width="176" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="192" valign="top" height="183"> <script type="text/javascript"> iens6=document.all||document.getElementByIdns4=document.layers //specify speed of scroll (greater=faster)var speed=5 if (iens6){document.write('<div id="container" style="position:relative;width:170px;height:215px;border:0px solid black;overflow:hidden">')document.write('<div id="content" style="position:absolute;width:170px;left:3;top:3">')}</script> <ilayer name="nscontainer" width=175 height=200 clip="0,0,175,160" left="1" top="51" visibility="show"> <layer name="nscontent" width=175 left="-57" top="-17" visibility="show"> <!--INSERT CONTENT HERE--> <div class="arq"> Nome 1<br>Nome2<br>Nome3<br> </div> <!--END CONTENT--> </layer> </ilayer> <script language="JavaScript1.2">if (iens6)document.write('</div></div>')</script> </td> <td width="17" height="183" valign="top"> <table cellpadding="0" cellspacing="0" height="215" width="13"> <td height="2"> <p align="left"> <a href="#" onMouseOver="moveup()" onMouseOut="clearTimeout(moveupvar)"><img src="imagens/up1.gif" border=0 width="13" height="11"></a></p> </td> <tr> <td height="122"> <div align="center"><img src="imagens/traco1.gif" width="2" height="155"></div> </td> <tr> <td height="16"><a href="#" onMouseOver="movedown()" onMouseOut="clearTimeout(movedownvar)"><img src="imagens/dow1.gif" border=0 width="13" height="11"></a></td> </table> <script language="JavaScript1.2">if (iens6){var crossobj=document.getElementById? document.getElementById("content") : document.all.contentvar contentheight=crossobj.offsetHeight}else if (ns4){var crossobj=document.nscontainer.document.nscontentvar contentheight=crossobj.clip.height} function movedown(){if (iens6&&parseInt(crossobj.style.top)>=(contentheight*(-1)+180))crossobj.style.top=parseInt(crossobj.style.top)-speed+"px"else if (ns4&&crossobj.top>=(contentheight*(-1)+210))crossobj.top-=speedmovedownvar=setTimeout("movedown()",50)} function moveup(){if (iens6&&parseInt(crossobj.style.top)<=0)crossobj.style.top=parseInt(crossobj.style.top)+speed+"px"else if (ns4&&crossobj.top<=0)crossobj.top+=speedmoveupvar=setTimeout("moveup()",50) } function getcontent_height(){if (iens6)contentheight=crossobj.offsetHeightelse if (ns4)document.nscontainer.document.nscontent.visibility="show"}window.onload=getcontent_height</script> </td> <td width="10" height="183"> </td> </tr> </table> <div align="left"></div> <form name="busca" method="GET" action="index.asp" onkeypress="Verifica()"> <table width="100%" border="0" cellspacing="1" cellpadding="1" bgcolor="#1F4373"> <tr> <td height="2" width="7%"> <div align="center"><font face="Verdana, Arial, Helvetica, sans-serif" size="1"><a href="arquitetos.asp"><font color="#FFFFFF"><img src="imagens/seta01.jpg" width="13" height="13" border="0"></font></a></font></div> </td> <td height="2" width="93%"><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#FFFFFF">Busca Alfabética: <input type="text" name="letra" maxlength="1" size="1" style="background-color: #FFFFF; color: #000000; font-weight: none; border:1 solid color:#000000; font-size: 9pt;"> <input type=image src="imagens/bt_go.gif" name="image232" width="23" height="14" align="middle"> </font></td> </tr> <tr> <td valign="middle" width="7%"> <div align="left"><font face="Verdana, Arial, Helvetica, sans-serif" size="1"><a href="arquitetos.asp"><font color="#FFFFFF"><img src="imagens/seta01.jpg" width="13" height="13" border="0"></font></a></font></div> </td> <td valign="middle" width="93%"><font face="Verdana, Arial, Helvetica, sans-serif" size="1"><a href="index.asp"><font color="#FFFFFF">listar todos os nomes</font></a></font></td> </tr> </table> </form> </td> <td valign="top" width="69"> <table width="69" border="0" cellspacing="0" cellpadding="0" height="216"> <tr> <td bgcolor="#1F4373" valign="top" height="213"> <div align="center"><img src="imagens/selo_set05_01.jpg" width="66" height="256"></div> </td> </tr> </table> </td> </tr> <tr> <td colspan="3" height="6"> <table width="656" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="109"><img src="../imgs/menu01/galeria_de_links01.jpg" width="109" height="20"></td> <td width="109"><a href="../construtores/index.asp"><img src="../imgs/menu01/construtores_link01.jpg" alt="Galeria de Construtores" name="Image3" width="110" height="20" border="0" id="Image3" onMouseOver="MM_swapImage('Image3','','../imgs/menu01/construtores_link02.jpg',1)" onMouseOut="MM_swapImgRestore()"></a></td> <td width="110"><a href="../decoradores/index.asp"><img src="../imgs/menu01/decoradores_link01.jpg" alt="Galeria de Decoradores" name="Image4" width="109" height="20" border="0" id="Image4" onMouseOver="MM_swapImage('Image4','','../imgs/menu01/decoradores_link02.jpg',1)" onMouseOut="MM_swapImgRestore()"></a></td> <td width="109"><a href="../fornecedores/index.asp"><img src="../imgs/menu01/fornecedores_link01.jpg" alt="Galeria de Fornecedores" name="Image5" width="109" height="20" border="0" id="Image5" onMouseOver="MM_swapImage('Image5','','../imgs/menu01/fornecedores_link02.jpg',1)" onMouseOut="MM_swapImgRestore()"></a></td> <td width="53"><a href="../produtos/index.asp"><img src="../imgs/menu01/produtos_link01.jpg" alt="Galeria de Produtos" name="Image6" width="110" height="20" border="0" id="Image6" onMouseOver="MM_swapImage('Image6','','../imgs/menu01/produtos_link02.jpg',1)" onMouseOut="MM_swapImgRestore()"></a></td> <td width="166"><a href="../index.html"><img src="../imgs/menu01/voltar_portal_link_01.jpg" alt="PROCONSTRUÇÃO" name="Image7" width="109" height="20" border="0" id="Image7" onMouseOver="MM_swapImage('Image7','','../imgs/menu01/voltar_portal_link_02.jpg',1)" onMouseOut="MM_swapImgRestore()"></a></td> </tr> </table> </td> </tr> <tr> <td height="2" colspan="3"> <table width="100%" border="0" align="left"> <tr> <td width="33%" height="102"><a href="#" onClick="MM_openBrWindow('cadastro_arq.html','','scrollbars=yes,resizable=yes,width=415,height=480')"><img src="imagens/cadastrar_arquiteto.gif" name="Image1" width="220" height="90" border="0" usemap="#Image1Map" id="Image1"></a></td> <td width="31%"> <div align="center"><a href="http://www.prooficio.com.br" target="_blank"><img src="parceiros/prooficio01.jpg" width="185" height="90" border="0" alt="Instituto Prooficio"></a></div> </td> <td width="36%"> <div align="right">zzzzzzzzzzz</div></td> </tr> </table> </td> </tr> </table> </div> </td> <td valign="top" width="110"> <table width="110" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="35"><img src="parceiros/hunter01.jpg" width="110" height="24" alt="HunterDouglas"></td> </tr> <tr> <td height="40"><a href="http://www.armstrong.com" target="_blank"><img src="parceiros/armstrong01.jpg" width="110" height="33" border="0" alt="Armstrong"></a></td> </tr> <tr> <td height="35"><a href="http://www.newside.com.br" target="_blank"><img src="parceiros/newside04.jpg" width="110" height="19" border="0" alt="Newside"></a></td> </tr> <tr> <td height="35"><img src="parceiros/solucon01.jpg" width="110" height="24" alt="Solucon"></td> </tr> <tr> <td height="40"><a href="http://www.eternit.com.br" target="_blank"><img src="parceiros/eternit01.jpg" width="110" height="27" border="0" alt="Eternit"></a></td> </tr> <tr> <td height="40"><a href="http://www.panduit.com.br" target="_blank"><img src="parceiros/panduit91.jpg" width="110" height="26" border="0" alt="Panduit"></a></td> </tr> <tr> <td height="55"><img src="parceiros/roberto01.jpg" width="110" height="46" alt="Roberto"></td> </tr> <tr> <td height="75"><img src="parceiros/eucafloor01.jpg" width="110" height="69" alt="EucaFloor"></td> </tr> <tr> <td height="5"> <div align="center"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><a href="../parceiros/politica.html" target="_blank"><img src="../parceiros/seja_parceiro01.jpg" alt="Seja um Parceiro" name="Image2" widt Compartilhar este post Link para o post Compartilhar em outros sites
leozeferino 0 Denunciar post Postado Novembro 28, 2005 Então kra, o que eu quero é simples: Movimentar as 3 layers "fundodhtml", "dhtml" e "fechar" quando o usuario entra no site (tipo os pop ups variaveis do uol, msn, terra, manja? Q fica em cima da página).Eu consigo fazer isso normalmente numa página nova. Mas quando eu faço o mesmo código nessa página, ele não funciona.Será que é algum problema de conflito com o scroller que já existe e funciona perfeitamente? Compartilhar este post Link para o post Compartilhar em outros sites