euLiriu 0 Denunciar post Postado Setembro 10, 2007 http://forum.imasters.com.br/public/style_emoticons/default/assobiando.gif Olá pessoal, sou novato aqui no forum, acabei de me registrar e ja trago ploblemas. bom no site imaster quando visualizado na resolução 1024X768 parece algumas publicidades do lado direito da pagina.... e quando visto na resolução 800X600 essas publicidade somem.... como fazer a mesma coisa? e se tiver geito, como fazer com que essa publicidade siga a barra de rolagem. Compartilhar este post Link para o post Compartilhar em outros sites
inforsis 1 Denunciar post Postado Setembro 12, 2007 opâ "euLiriu" já que é novo, não esqueça de conferir: as regras do forum e vale uma dica é sempre bom usar a busca do forum antes de postar. Em relação ao seu problema, dependendo do seu nivel de conhecimento existem algumas maneiras de resolver esta questão vou te indicar a forma mais simples (não sei se a mais apropriada para seu caso): crie duas páginas: pagina1.html (com a publicidade) pagina2.html (sem a publicidade) agora na sua index você insere o seguinte código em javascript <script language="JavaScript1.2">if (screen.width==800||screen.height==600){ //se for 800x600window.location.replace("pagina2.html")}else if (screen.width==1024||screen.height==768){ //se for 1024x768window.location.replace("pagina1.html")}else //se for outra resoluçãowindow.location.replace("pagina1.html")</script>partindo daí já é uma ajuda para resolver o seu problema. http://forum.imasters.com.br/public/style_emoticons/default/thumbsup.gif Compartilhar este post Link para o post Compartilhar em outros sites
euLiriu 0 Denunciar post Postado Setembro 12, 2007 Mas neste caso, eu teria que fazer 2 sites, um pra cada resolução. Essa publicidade, seria pra preemcher o vazio do lado esquerdo, pra não ser nessesario centralizar o site. eu vi um duvida na plugmasters, em que você deu a mesma dica. obrigado! Compartilhar este post Link para o post Compartilhar em outros sites
inforsis 1 Denunciar post Postado Setembro 12, 2007 eu teria que fazer 2 sitesnão "euLiriu" você poderia usar um <iframe>, porém não seria o mais indicado ja que a tag iframe esta em desuso segundo as normas da wc3. dependendo do seu nivel de conhecimento poderia usar o include do php. logica: index -> insira o código em javascript que passei acima (irá direcionar o user ao site dependendo da sua resolução) pagina1.html -> use iframe ou include para inserir o conteúdo do site (aqui você insere a publicidade ao lado direito) página2.html -> idem para inserir o conteúdo. (porém aqui você não usas publicidade ao lado diretio) qualquer dúvida só postar novamente... até mais. Compartilhar este post Link para o post Compartilhar em outros sites
euLiriu 0 Denunciar post Postado Setembro 12, 2007 vou testar mano vlw... porque meus conhecimentos são basicos. pq e um site pro meu clan de Soldier Front, nada muito serio;. Compartilhar este post Link para o post Compartilhar em outros sites
euLiriu 0 Denunciar post Postado Setembro 12, 2007 veio coloquei esse codico na minha pagina, e nada acomteceu. Compartilhar este post Link para o post Compartilhar em outros sites
euLiriu 0 Denunciar post Postado Setembro 14, 2007 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- saved from url=(0014)about:internet --><html xmlns="http://www.w3.org/1999/xhtml"><head><title>SWATI BR ->A Elite do Brasil<-</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><style type="text/css">td img {display: block;}#Layer1 { position:absolute; width:769px; height:177px; z-index:1; top: 3px; left: 2px;}#Layer2 { position:absolute; width:770px; height:9px; z-index:2; left: 1px; top: 187px;}body { background-image: url(FUMDO.jpg);}#Layer3 { position:absolute; width:15px; height:37px; z-index:3; left: 758px; top: 197px;}#Layer4 { position:absolute; width:476px; height:591px; z-index:4; left: 276px; top: 260px;}</style><!--Fireworks 8 Dreamweaver 8 target. Created Mon Sep 10 12:56:45 GMT-0300 (Hora oficial do Brasil) 2007--></head><body style="word-spacing: 0; margin: 0"><div id="Layer3"><img src="complet.jpg" width="18" height="36" /></div><div id="Layer1"> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="772" height="184"> <param name="movie" value="../topo.swf" /> <param name="quality" value="high" /> <embed src="../topo.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="772" height="184"></embed> </object></div><table border="0" cellpadding="0" cellspacing="0" width="776"><!-- fwtable fwsrc="projeto2.png" fwbase="index.jpg" fwstyle="Dreamweaver" fwdocid = "2095416443" fwnested="0" --> <tr> <td><img src="spacer.gif" width="139" height="1" border="0" alt="" /></td> <td><img src="spacer.gif" width="60" height="1" border="0" alt="" /></td> <td><img src="spacer.gif" width="71" height="1" border="0" alt="" /></td> <td><img src="spacer.gif" width="6" height="1" border="0" alt="" /></td> <td><img src="spacer.gif" width="105" height="1" border="0" alt="" /></td> <td><img src="spacer.gif" width="64" height="1" border="0" alt="" /></td> <td><img src="spacer.gif" width="112" height="1" border="0" alt="" /></td> <td><img src="spacer.gif" width="7" height="1" border="0" alt="" /></td> <td><img src="spacer.gif" width="14" height="1" border="0" alt="" /></td> <td><img src="spacer.gif" width="31" height="1" border="0" alt="" /></td> <td><img src="spacer.gif" width="51" height="1" border="0" alt="" /></td> <td><img src="spacer.gif" width="83" height="1" border="0" alt="" /></td> <td><img src="spacer.gif" width="23" height="1" border="0" alt="" /></td> <td><img src="spacer.gif" width="10" height="1" border="0" alt="" /></td> <td><img src="spacer.gif" width="1" height="1" border="0" alt="" /></td> </tr> <tr> <td colspan="3"><img name="index_r1_c1" src="index_r1_c1.jpg" width="270" height="185" border="0" id="index_r1_c1" alt="" /></td> <td colspan="11"><img name="index_r1_c4" src="index_r1_c4.jpg" width="506" height="185" border="0" id="index_r1_c4" alt="" /></td> <td><img src="spacer.gif" width="1" height="185" border="0" alt="" /></td> </tr> <tr> <td colspan="3"><img name="index_r2_c1" src="index_r2_c1.jpg" width="270" height="10" border="0" id="index_r2_c1" alt="" /></td> <td colspan="6"><img name="index_r2_c4" src="index_r2_c4.jpg" width="308" height="10" border="0" id="index_r2_c4" alt="" /></td> <td colspan="4"><img name="index_r2_c10" src="index_r2_c10.jpg" width="188" height="10" border="0" id="index_r2_c10" alt="" /></td> <td rowspan="2"><img name="index_r2_c14" src="index_r2_c14.jpg" width="10" height="44" border="0" id="index_r2_c14" alt="" /></td> <td><img src="spacer.gif" width="1" height="10" border="0" alt="" /></td> </tr> <tr> <td><a href="game.html"><img name="index_r3_c1" src="index_r3_c1.jpg" width="139" height="34" border="0" id="index_r3_c1" alt="" /></a></td> <td><a href="clan.html"><img name="index_r3_c2" src="index_r3_c2.jpg" width="60" height="34" border="0" id="index_r3_c2" alt="" /></a></td> <td colspan="2"><a href="http://sfront.ijji.com/myclan/memberList.nhn?guildid=SWATlBR"><img name="index_r3_c3" src="index_r3_c3.jpg" width="77" height="34" border="0" id="index_r3_c3" alt="" /></a></td> <td><a href="screen.html"><img name="index_r3_c5" src="index_r3_c5.jpg" width="105" height="34" border="0" id="index_r3_c5" alt="" /></a></td> <td><a href="http://www.orkut.com/Community.aspx?cmm=35627905"><img name="index_r3_c6" src="index_r3_c6.jpg" width="64" height="34" border="0" id="index_r3_c6" alt="" /></a></td> <td colspan="4"><a href="jogador.html"><img name="index_r3_c7" src="index_r3_c7.jpg" width="164" height="34" border="0" id="index_r3_c7" alt="" /></a> <div id="Layer2"> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="773" height="10"> <param name="movie" value="../Barra.swf" /> <param name="quality" value="high" /> <embed src="../Barra.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="773" height="10"></embed> </object> </div></td> <td colspan="3"><a href="http://swatibr.awardspace.com/forum/"><img name="index_r3_c11" src="index_r3_c11.jpg" width="157" height="34" border="0" id="index_r3_c11" alt="" /></a> <div id="Layer4"> <IFRAME frameborder="0" width="100%" height="100%" iframe name="iframe" src="http://swatibr.awardspace.com/mznews/noticias.php#"><!--webbot bot="HTMLMarkup" endspan --><!--webbot bot="HTMLMarkup" startspan TAG="XBOT" --></IFRAME></div></td> <td><img src="spacer.gif" width="1" height="34" border="0" alt="" /></td> </tr> <tr> <td colspan="14"><img name="index_r4_c1" src="index_r4_c1.jpg" width="776" height="108" border="0" id="index_r4_c1" alt="" /></td> <td><img src="spacer.gif" width="1" height="108" border="0" alt="" /></td> </tr> <tr> <td colspan="3"><img name="index_r5_c1" src="index_r5_c1.jpg" width="270" height="167" border="0" id="index_r5_c1" alt="" /></td> <td colspan="8"><img name="index_r5_c4" src="index_r5_c4.jpg" width="390" height="167" border="0" id="index_r5_c4" alt="" /></td> <td colspan="3"><img name="index_r5_c12" src="index_r5_c12.jpg" width="116" height="167" border="0" id="index_r5_c12" alt="" /></td> <td><img src="spacer.gif" width="1" height="167" border="0" alt="" /></td> </tr> <tr> <td rowspan="2" colspan="4"><img name="index_r6_c1" src="index_r6_c1.jpg" width="276" height="91" border="0" id="index_r6_c1" alt="" /></td> <td colspan="10"><img name="index_r6_c5" src="index_r6_c5.jpg" width="500" height="89" border="0" id="index_r6_c5" alt="" /></td> <td><img src="spacer.gif" width="1" height="89" border="0" alt="" /></td> </tr> <tr> <td colspan="3"><img name="index_r7_c5" src="index_r7_c5.jpg" width="281" height="2" border="0" id="index_r7_c5" alt="" /></td> <td><img name="index_r7_c8" src="index_r7_c8.jpg" width="7" height="2" border="0" id="index_r7_c8" alt="" /></td> <td colspan="6"><img name="index_r7_c9" src="index_r7_c9.jpg" width="212" height="2" border="0" id="index_r7_c9" alt="" /></td> <td><img src="spacer.gif" width="1" height="2" border="0" alt="" /></td> </tr> <tr> <td colspan="4"><img name="index_r8_c1" src="index_r8_c1.jpg" width="276" height="339" border="0" id="index_r8_c1" alt="" /></td> <td colspan="4"><img name="index_r8_c5" src="index_r8_c5.jpg" width="288" height="339" border="0" id="index_r8_c5" alt="" /></td> <td colspan="4"><img name="index_r8_c9" src="index_r8_c9.jpg" width="179" height="339" border="0" id="index_r8_c9" alt="" /></td> <td colspan="2"><img name="index_r8_c13" src="index_r8_c13.jpg" width="33" height="339" border="0" id="index_r8_c13" alt="" /></td> <td><img src="spacer.gif" width="1" height="339" border="0" alt="" /></td> </tr></table></body></html> Compartilhar este post Link para o post Compartilhar em outros sites
inforsis 1 Denunciar post Postado Setembro 14, 2007 veio coloquei esse codico na minha pagina, e nada acomteceu.olá euLiriu, qual o código que você colocou na sua página e não obteve retorno? Posta o codigo todo da pagina pragente analisar.olá marcos_cordeiro, evite solicitar que o membro post todo o código. Poderia para este caso poderia apenas solicitar um link que facilitaria a analise. http://forum.imasters.com.br/public/style_emoticons/default/thumbsup.gif Compartilhar este post Link para o post Compartilhar em outros sites
euLiriu 0 Denunciar post Postado Setembro 14, 2007 <html><script>window.onload = function() {var w = screen.width;if(w >= 1024)document.getElementById("barraLateral").style.display = '';};</script><body><div id="barraLateral" style="position:absolute; width:182px; height:119px; z-index:1; background-color: #FF0000; layer-background-color: #FF0000; border: 1px none #000000;display:none"></div></body></html>foi este... Compartilhar este post Link para o post Compartilhar em outros sites
inforsis 1 Denunciar post Postado Setembro 14, 2007 oi euLiriu, faça o teste com o script que te passei. Havendo dificuldade, post o link para página onde você quer aplica-lo. até mais. http://forum.imasters.com.br/public/style_emoticons/default/thumbsup.gif Compartilhar este post Link para o post Compartilhar em outros sites
euLiriu 0 Denunciar post Postado Setembro 15, 2007 mano, mas que script? você explicou e tals... mas sou bem leigo. pelo meu html do site, pode se ver isso. o indereço da pagina e esse:www.swatibr.rg3.net Compartilhar este post Link para o post Compartilhar em outros sites