Jump to content


Tullius's Content

There have been 3 items by Tullius (Search limited from 04/07/2019)


Ordernar por                Order  

#998358 Parar Um Css.

Posted by Tullius on 16/04/2010, 02:03 in HTML, CSS e Metodologias

Andre , consegui minah resposta em outro forum, na verdade, nem sabia que meu post estava aki, pois quando tentei postar todas as vezes deu erro, ai desisti.

mas obrigado pela prontidao.

abraços



#998316 Parar Um Css.

Posted by Tullius on 15/04/2010, 06:31 in HTML, CSS e Metodologias

Bom galera depois de me matar tentando resolver um problema estou aqui pra pedir ajuda.

Tenho um site todo em php, com consulta no mysql.

Eu não sei nada de css, estou com o seguinte problema.

No site tenho um css que funciona pro site todo, muito simples até, ele vem por um include que chama cores.php.

Ate ai esta tudo funcionado perfeitamente o site o css tudo.

ai resolvi colocar uma descrição nas imagens que estão no topo do site, utilizando o fireworks cs4 para colocar esta descrição como um menu pop up, o firewors faz todo o trabalho gerando 2 arquivos adicionais alem do meu principal, um e o mm_css_menu.js que e as funçoes script, e o outro e o Untitled-1_r6_c1.css q seria todo codigo css.

A estrutura do site e assim.

Index.php

chama o
Include cores.php << o css
Include cima.php < topo do site
Include Menu.php < menu esquerdo
include menues.php < menu direito
include rodape.php

o proprio menu ja e o resultado de uma consulta no banco de dados mysql.
ok continuando

Testei a alteração q fiz no arquivo cima.php (somente as imagens e css)no pc e funciono normal so a parte de cima.

Ai mandei para o servidor, e o meu menu direito fica todo espasado.

sei q o css do menu pop up da parte de cima , esta influenciando no menu direito do site.

tentei mudar o nome do css a.linkinterior bla bla bla, e o class na hora de chamar o codigo e nada.

tentei colocar o codigo css e funçoes, no codigo cima.php, pra nao ter que chamar os dois outros arquivos, e nada.

como o codigo do cima.php e lido primeiro q o do menu.php acredito q esteja anulando o css do menu.php, tem como eu brekar dar um stop, no codigo do css do cima.php?

se alguem teve paciencia de ler ate aki,o que eu posso estar fazendo de errado? o site e www.portalcipo.com.br e abaixo esta os codigos.

att
Tullius

Cima.php

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR...nsitional.dtd">
<!-- saved from url=(0014)about:internet -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Untitled-1.jpg</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!--Fireworks CS3 Dreamweaver CS3 target. Created Thu Apr 15 03:26:56 GMT-0300 (Hora oficial do Brasil) 2010-->
<script language="JavaScript1.2" type="text/javascript" src="mm_css_menu.js"></script>
<style type="text/css" media="screen">
@import url("./Untitled-1.css");
</style>

</head>
<body bgcolor="#ffffff">
<div id="FWTableContainer1257505653">
<table border="0" cellpadding="0" cellspacing="0" width="780">
<!-- fwtable fwsrc="toponew.png" fwpage="Page 1" fwbase="Untitled-1.jpg" fwstyle="Dreamweaver" fwdocid = "1257505653" fwnested="0" -->
<tr>
<td><img src="spacer.gif" width="45" height="1" border="0" alt="" /></td>
<td><img src="spacer.gif" width="50" 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="34" height="1" border="0" alt="" /></td>
<td><img src="spacer.gif" width="16" height="1" border="0" alt="" /></td>
<td><img src="spacer.gif" width="58" height="1" border="0" alt="" /></td>
<td><img src="spacer.gif" width="15" height="1" border="0" alt="" /></td>
<td><img src="spacer.gif" width="8" height="1" border="0" alt="" /></td>
<td><img src="spacer.gif" width="50" height="1" border="0" alt="" /></td>
<td><img src="spacer.gif" width="28" height="1" border="0" alt="" /></td>
<td><img src="spacer.gif" width="27" height="1" border="0" alt="" /></td>
<td><img src="spacer.gif" width="57" height="1" border="0" alt="" /></td>
<td><img src="spacer.gif" width="136" height="1" border="0" alt="" /></td>
<td><img src="spacer.gif" width="73" height="1" border="0" alt="" /></td>
<td><img src="spacer.gif" width="52" height="1" border="0" alt="" /></td>
<td><img src="spacer.gif" width="95" height="1" border="0" alt="" /></td>
<td><img src="spacer.gif" width="18" height="1" border="0" alt="" /></td>
<td><img src="spacer.gif" width="4" height="1" border="0" alt="" /></td>
<td><img src="spacer.gif" width="1" height="1" border="0" alt="" /></td>
</tr>

<tr>
<td rowspan="5" colspan="7"><img name="Untitled1_r1_c1" src="topo/Untitled-1_r1_c1.jpg" width="232" height="129" border="0" id="Untitled1_r1_c1" alt="" /></td>
<td colspan="11"><img name="Untitled1_r1_c8" src="topo/Untitled-1_r1_c8.jpg" width="548" height="22" border="0" id="Untitled1_r1_c8" alt="" /></td>
<td><img src="spacer.gif" width="1" height="22" border="0" alt="" /></td>
</tr>
<tr>
<td rowspan="2" colspan="2"><img name="Untitled1_r2_c8" src="topo/Untitled-1_r2_c8.jpg" width="58" height="90" border="0" id="Untitled1_r2_c8" alt="" /></td>
<td colspan="7"><script type="text/javascript"><!--

google_ad_client = "pub-4414673391066465";

/* 468x60, criado 15/05/08 */

google_ad_slot = "4214055275";

google_ad_width = 468;

google_ad_height = 60;

//-->

</script>

<script type="text/javascript"

src="http://pagead2.googl...d/show_ads.js">

</script></td>
<td rowspan="4" colspan="2"><img name="Untitled1_r2_c17" src="topo/Untitled-1_r2_c17.jpg" width="22" height="107" border="0" id="Untitled1_r2_c17" alt="" /></td>
<td><img src="spacer.gif" width="1" height="60" border="0" alt="" /></td>
</tr>
<tr>
<td colspan="7"><img name="Untitled1_r3_c10" src="topo/Untitled-1_r3_c10.jpg" width="468" height="30" border="0" id="Untitled1_r3_c10" alt="" /></td>
<td><img src="spacer.gif" width="1" height="30" border="0" alt="" /></td>
</tr>
<tr>
<td rowspan="2"><img name="Untitled1_r4_c8" src="topo/Untitled-1_r4_c8.jpg" width="8" height="17" border="0" id="Untitled1_r4_c8" alt="" /></td>
<td colspan="5"bgcolor="#cccccc"><?php include "hora.inc"?></td>
<td rowspan="2" colspan="3"><img name="Untitled1_r4_c14" src="topo/Untitled-1_r4_c14.jpg" width="220" height="17" border="0" id="Untitled1_r4_c14" alt="" /></td>
<td><img src="spacer.gif" width="1" height="13" border="0" alt="" /></td>
</tr>
<tr>
<td colspan="5"><img name="Untitled1_r5_c9" src="topo/Untitled-1_r5_c9.jpg" width="298" height="4" border="0" id="Untitled1_r5_c9" alt="" /></td>
<td><img src="spacer.gif" width="1" height="4" border="0" alt="" /></td>
</tr>
<tr>
<td colspan="18"><img name="Untitled1_r6_c1" src="topo/Untitled-1_r6_c1.jpg" width="780" height="117" border="0" id="Untitled1_r6_c1" usemap="#m_Untitled1_r6_c1" alt="" /></td>
<td><img src="spacer.gif" width="1" height="117" border="0" alt="" /></td>
</tr>
<tr>
<td colspan="18"><img name="Untitled1_r7_c1" src="topo/Untitled-1_r7_c1.jpg" width="780" height="2" border="0" id="Untitled1_r7_c1" usemap="#m_Untitled1_r7_c1" alt="" /></td>
<td><img src="spacer.gif" width="1" height="2" border="0" alt="" /></td>
</tr>
<tr>
<td rowspan="6"><img name="Untitled1_r8_c1" src="topo/Untitled-1_r8_c1.jpg" width="45" height="281" border="0" id="Untitled1_r8_c1" alt="" /></td>
<td><a href="index.php"><img name="Untitled1_r8_c2" src="topo/Untitled-1_r8_c2.jpg" width="50" height="16" border="0" id="Untitled1_r8_c2" alt="" /></a></td>
<td rowspan="3"><img name="Untitled1_r8_c3" src="topo/Untitled-1_r8_c3.jpg" width="14" height="43" border="0" id="Untitled1_r8_c3" alt="" /></td>
<td><a href="serra.php?cod_cat=apa"><img name="Untitled1_r8_c4" src="topo/Untitled-1_r8_c4.jpg" width="34" height="16" border="0" id="Untitled1_r8_c4" alt="" /></a></td>
<td rowspan="3"><img name="Untitled1_r8_c5" src="topo/Untitled-1_r8_c5.jpg" width="16" height="43" border="0" id="Untitled1_r8_c5" alt="" /></td>
<td><a href="serra.php?cod_cat=historia"><img name="Untitled1_r8_c6" src="topo/Untitled-1_r8_c6.jpg" width="58" height="16" border="0" id="Untitled1_r8_c6" alt="" /></a></td>
<td rowspan="3" colspan="2"><img name="Untitled1_r8_c7" src="topo/Untitled-1_r8_c7.jpg" width="23" height="43" border="0" id="Untitled1_r8_c7" alt="" /></td>
<td colspan="2"><a href="serra.php?cod_cat=localizacao"><img name="Untitled1_r8_c9" src="topo/Untitled-1_r8_c9.jpg" width="78" height="16" border="0" id="Untitled1_r8_c9" alt="" /></a></td>
<td rowspan="3"><img name="Untitled1_r8_c11" src="topo/Untitled-1_r8_c11.jpg" width="27" height="43" border="0" id="Untitled1_r8_c11" alt="" /></td>
<td><a href="contato.php"><img name="Untitled1_r8_c12" src="topo/Untitled-1_r8_c12.jpg" width="57" height="16" border="0" id="Untitled1_r8_c12" alt="" /></a></td>
<td rowspan="2" colspan="6"><img name="Untitled1_r8_c13" src="topo/Untitled-1_r8_c13.jpg" width="378" height="34" border="0" id="Untitled1_r8_c13" alt="" /></td>
<td><img src="spacer.gif" width="1" height="16" border="0" alt="" /></td>
</tr>
<tr>
<td rowspan="2"><img name="Untitled1_r9_c2" src="topo/Untitled-1_r9_c2.jpg" width="50" height="27" border="0" id="Untitled1_r9_c2" alt="" /></td>
<td rowspan="2"><img name="Untitled1_r9_c4" src="topo/Untitled-1_r9_c4.jpg" width="34" height="27" border="0" id="Untitled1_r9_c4" alt="" /></td>
<td rowspan="2"><img name="Untitled1_r9_c6" src="topo/Untitled-1_r9_c6.jpg" width="58" height="27" border="0" id="Untitled1_r9_c6" alt="" /></td>
<td rowspan="2" colspan="2"><img name="Untitled1_r9_c9" src="topo/Untitled-1_r9_c9.jpg" width="78" height="27" border="0" id="Untitled1_r9_c9" alt="" /></td>
<td rowspan="2"><img name="Untitled1_r9_c12" src="topo/Untitled-1_r9_c12.jpg" width="57" height="27" border="0" id="Untitled1_r9_c12" alt="" /></td>
<td><img src="spacer.gif" width="1" height="18" border="0" alt="" /></td>
</tr>
<tr>
<td colspan="3"><img name="Untitled1_r10_c13" src="topo/Untitled-1_r10_c13.jpg" width="261" height="9" border="0" id="Untitled1_r10_c13" alt="" /></td>
<td rowspan="3" colspan="2"><img name="Untitled1_r10_c16" src="topo/lateral.jpg" width="113" height="222" border="0" id="Untitled1_r10_c16" alt="" /></td>
<td rowspan="4"><img name="Untitled1_r10_c18" src="topo/Untitled-1_r10_c18.jpg" width="4" height="247" border="0" id="Untitled1_r10_c18" alt="" /></td>
<td><img src="spacer.gif" width="1" height="9" border="0" alt="" /></td>
</tr>
<tr>
<td colspan="13"><img name="Untitled1_r11_c2" src="arquivos/fotos/fotos_grandes/riocipo.gif" width="566" height="203" border="0" id="Untitled1_r11_c2" alt="" /></td>
<td rowspan="3"><img name="Untitled1_r11_c15" src="topo/Untitled-1_r11_c15.jpg" width="52" height="238" border="0" id="Untitled1_r11_c15" alt="" /></td>
<td><img src="spacer.gif" width="1" height="203" border="0" alt="" /></td>
</tr>
<tr>
<td rowspan="2" colspan="13"><img name="Untitled1_r12_c2" src="topo/Untitled-1_r12_c2.jpg" width="566" height="35" border="0" id="Untitled1_r12_c2" alt="" /></td>
<td><img src="spacer.gif" width="1" height="10" border="0" alt="" /></td>
</tr>
<tr>
<td colspan="2"><img name="Untitled1_r13_c16" src="topo/Untitled-1_r13_c16.jpg" width="113" height="25" border="0" id="Untitled1_r13_c16" alt="" /></td>
<td><img src="spacer.gif" width="1" height="25" border="0" alt="" /></td>
</tr>
</table>
<map name="m_Untitled1_r6_c1" id="m_Untitled1_r6_c1">
<area shape="rect" coords="503,0,658,117" href="javascript:;" alt="" onmouseout="MM_menuStartTimeout(1000);" onmouseover="MM_menuShowMenu('MMMenuContainer0415031956_0', 'MMMenu0415031956_0',415,-21,'Untitled1_r6_c1');" />
<area shape="rect" coords="419,0,499,117" href="javascript:;" alt="" onmouseout="MM_menuStartTimeout(1000);" onmouseover="MM_menuShowMenu('MMMenuContainer0415030955_1', 'MMMenu0415030955_1',389,-21,'Untitled1_r6_c1');" />
<area shape="rect" coords="305,0,419,119" href="javascript:;" alt="" onmouseout="MM_menuStartTimeout(1000);" onmouseover="MM_menuShowMenu('MMMenuContainer0415030803_2', 'MMMenu0415030803_2',18,-21,'Untitled1_r6_c1');" />
<area shape="rect" coords="222,0,303,117" href="javascript:;" alt="" onmouseout="MM_menuStartTimeout(1000);" onmouseover="MM_menuShowMenu('MMMenuContainer0415030511_3', 'MMMenu0415030511_3',222,-21,'Untitled1_r6_c1');" />
<area shape="rect" coords="45,0,217,119" href="javascript:;" alt="" onmouseout="MM_menuStartTimeout(1000);" onmouseover="MM_menuShowMenu('MMMenuContainer0415030133_0', 'MMMenu0415030133_0',45,-21,'Untitled1_r6_c1');" />
</map>
<map name="m_Untitled1_r7_c1" id="m_Untitled1_r7_c1">
<area shape="rect" coords="305,-117,419,2" href="javascript:;" alt="" onmouseout="MM_menuStartTimeout(1000);" onmouseover="MM_menuShowMenu('MMMenuContainer0415030803_2', 'MMMenu0415030803_2',18,-138,'Untitled1_r7_c1');" />
<area shape="rect" coords="45,-117,217,2" href="javascript:;" alt="" onmouseout="MM_menuStartTimeout(1000);" onmouseover="MM_menuShowMenu('MMMenuContainer0415030133_0', 'MMMenu0415030133_0',45,-138,'Untitled1_r7_c1');" />
</map>
<div id="MMMenuContainer0415031956_0">
<div id="MMMenu0415031956_0" onmouseout="MM_menuStartTimeout(1000);" onmouseover="MM_menuResetTimeout();">
<a href="javascript:;" id="MMMenu0415031956_0_Item_0" class="MMMIFVStyleMMMenu0415031956_0" onmouseover="MM_menuOverMenuItem('MMMenu0415031956_0');">
Flore&nbsp;da&nbsp;Serra-&nbsp;Foto&nbsp;retirada&nbsp;por&nbsp;Cleide&nbsp;Sousa
</a>
</div>
</div>
<div id="MMMenuContainer0415030955_1">
<div id="MMMenu0415030955_1" onmouseout="MM_menuStartTimeout(1000);" onmouseover="MM_menuResetTimeout();">
<a href="javascript:;" id="MMMenu0415030955_1_Item_0" class="MMMIFVStyleMMMenu0415030955_1" onmouseover="MM_menuOverMenuItem('MMMenu0415030955_1');">
Cachoeira&nbsp;Serra&nbsp;Morena
</a>
</div>
</div>
<div id="MMMenuContainer0415030803_2">
<div id="MMMenu0415030803_2" onmouseout="MM_menuStartTimeout(1000);" onmouseover="MM_menuResetTimeout();">
<a href="javascript:;" id="MMMenu0415030803_2_Item_0" class="MMMIFVStyleMMMenu0415030803_2" onmouseover="MM_menuOverMenuItem('MMMenu0415030803_2');">
Juquinha&nbsp;da&nbsp;Serra&nbsp;-A&nbsp;obra&nbsp;foi&nbsp;realizada&nbsp;pela&nbsp;artista&nbsp;Virg&iacute;nia&nbsp;Ferreira&nbsp;e&nbsp;levou&nbsp;8&nbsp;meses&nbsp;para&nbsp;ser&nbsp;finalizada.
</a>
</div>
</div>
<div id="MMMenuContainer0415030511_3">
<div id="MMMenu0415030511_3" onmouseout="MM_menuStartTimeout(1000);" onmouseover="MM_menuResetTimeout();">
<a href="javascript:;" id="MMMenu0415030511_3_Item_0" class="MMMIFVStyleMMMenu0415030511_3" onmouseover="MM_menuOverMenuItem('MMMenu0415030511_3');">
Canyon&nbsp;das&nbsp;Bandeirinhas
</a>
</div>
</div>
<div id="MMMenuContainer0415030133_0">
<div id="MMMenu0415030133_0" onmouseout="MM_menuStartTimeout(1000);" onmouseover="MM_menuResetTimeout();">
<a href="javascript:;" id="MMMenu0415030133_0_Item_0" class="MMMIFVStyleMMMenu0415030133_0" onmouseover="MM_menuOverMenuItem('MMMenu0415030133_0');">
Parque&nbsp;Nacional&nbsp;vista&nbsp;a&eacute;rea.
</a>
</div>
</div>
</div>
</body>
</html>


menu.php

<?php include "cores.php"?>
<script language="JavaScript" type="text/JavaScript">

<!--

function MM_openBrWindow(theURL,winName,features) { //v2.0

window.open(theURL,winName,features);

}

//-->

</script>

<table width="100%" border="0">

<tr>

<td><TABLE width="121" border=0 align="left" cellPadding=0 cellSpacing=0>

<TBODY>

<TR>

<TD width="100%" bgColor=#999999></TD>

</TR>

<TR>

<TD width="100%"

height=18 bgColor=#666666 class="linkinterior1"

><div align="left"><strong>&nbsp;<font color="#CCCCCC">S</font></strong><font color="#CCCCCC">erra

do CIP&Oacute;</font></div>

</TD>

</TR>

<TD width="100%" bgColor=#000000></TD>

<?php

include"abreco.php";

$sql = "select * FROM tb_menu WHERE cod_menu = 'serra' ORDER BY ordem asc ";

$rs = mysql_query($sql, $conexao) or die ("Não foi possivel efetuar a consulta12");



while ($linha = mysql_fetch_array($rs)) {

$categoria = $linha['categoria'];

$link = $linha['link'];

$nome = $linha['nome'];



?>

<TR>

<TD width="100%" bgColor=#CCCCCC> </TD>

</TR>

<TR>

<TD width="100%"

height=15 bgColor=#999999 class="linkinterior1" onmouseover="mOvr(this,'#FF9900');"

onmouseout="mOut(this,'#999999');">&nbsp;<IMG height=9 src="arquivos/barra%20menu/setica.gif" border=0 width="8">&nbsp; <A

href="<?php echo $link ;?><?php echo $categoria ;?>"><?php echo $nome ;?></A></TD>

</TR>

<TD width="100%" bgColor=#000000></TD>

</TR>

<?php

}

?>

<TR>

<TD width="100%" bgColor=#999999></TD>

</TR>

<TR>

<TD width="100%"

height=18 bgColor=#666666 class="linkinterior1"

><div align="left"><strong>&nbsp;<font color="#CCCCCC">H</font></strong><font color="#CCCCCC">ospedagem</font></div>

</TD>

</TR>

<TD width="100%" bgColor=#333333></TD>

<?php



$sql = "select * FROM tb_menu WHERE cod_menu = 'hospedagem' ORDER BY ordem asc ";

$hospedagem = mysql_real_escape_string($_GET['hospedagem']);

$rs = mysql_query($sql, $conexao) or die ("Não foi possivel efetuar a consulta13");



while ($linha = mysql_fetch_array($rs)) {



$link = $linha['link'];

$nome = $linha['nome'];

$categoria = $linha['categoria'];

?>

<TR>

<TD width="100%" bgColor=#CCCCCC></TD>

</TR>

<TR>

<TD width="100%"

height=15 bgColor=#999999 onmouseover="mOvr(this,'#FF9900');"

onmouseout="mOut(this,'#999999');"><span class="linkinterior1">&nbsp;<IMG height=9

src="arquivos/barra%20menu/setica.gif"

width=8 border=0>&nbsp;</span> <A

href="<?php echo $link ;?><?php echo $categoria ;?>"><?php echo $nome ;?></A></TD>

</TR>

<TD width="100%" bgColor=#000000></TD>

</TR>

<?php

}

?>

<TR>

<TD width="100%" bgColor=#999999></TD>

</TR>

<TR>

<TD width="100%"

height=18 bgColor=#666666 class="linkinterior1"

><div align="left"><strong>&nbsp;<font color="#CCCCCC">S</font></strong><font color="#CCCCCC">aib&aacute; Mais</font></div>

</TD>

</TR>

<TD width="100%" bgColor=#000000></TD>

<?php

$sql = "select * FROM tb_menu WHERE cod_menu = 'saibamais' ORDER BY ordem asc ";

$saibamais = mysql_real_escape_string($_GET['saibamais']);

$rs = mysql_query($sql, $conexao) or die ("Não foi possivel efetuar a consulta14");



while ($linha = mysql_fetch_array($rs)) {



$link = $linha['link'];

$nome = $linha['nome'];

$categoria = $linha['categoria'];

?>

<TR>

<TD width="100%" bgColor=#CCCCCC></TD>

</TR>

<TR>

<TD width="100%"

height=15 bgColor=#999999 class="linkinterior1" onmouseover="mOvr(this,'#FF9900');"

onmouseout="mOut(this,'#999999');">&nbsp;<IMG height=9 src="arquivos/barra%20menu/setica.gif" width=8 border=0>&nbsp; <A

href="<?php echo $link ;?><?php echo $categoria ;?>"><?php echo $nome ;?></A></TD>

</TR>

<TD width="100%" bgColor=#000000></TD>

</TR>

<?php

}

?>

<TR>

<TD width="100%" bgColor=#999999></TD>

</TR>

<TD width="100%" bgColor=#000000></TD>

<?php

$sql = "select * FROM tb_menu WHERE cod_menu = 'servico' ORDER BY ordem asc ";

$servico = mysql_real_escape_string($_GET['servico']);

$rs = mysql_query($sql, $conexao) or die ("Não foi possivel efetuar a consulta15");



while ($linha = mysql_fetch_array($rs)) {

$categoria = $linha['categoria'];

$link = $linha['link'];

$nome = $linha['nome'];



?>

<TR>

<TD width="100%" bgColor=#CCCCCC></TD>

</TR>

<TR>

<TD width="100%" height=15 bgColor=#999999 class="linkinterior1" onmouseover="mOvr(this,'#FF9900');"

onmouseout="mOut(this,'#999999');">&nbsp;<IMG height=9 src="arquivos/barra%20menu/setica.gif" border=0 width="8">&nbsp; <A

href="<?php echo $link ;?><?php echo $categoria ;?>"><?php echo $nome ;?></A></TD>

</TR>

<TR>

<TD width="100%" bgColor=#000000></TD>

<?php

}



?>

<TR>

<TD width="100%" bgColor=#999999></TD>

</TR>

<TR>

<TD width="100%" height=15 bgColor=#666666 class="linkinterior1" onmouseover="mOvr(this,'#FF9900');"onmouseout="mOut(this,'#666666');">&nbsp; <a href="#Livro de visitas" onClick="MM_openBrWindow('livro.php','','scrollbars=yes,width=700,height=530')">Livro

de visitas</a></TD>

</TR>

<TR>

<TD width="100%" bgColor=#000000></TD>

<TR>

<TD width="100%" bgColor=#999999></TD>

</TR>

<TR>

<TD width="100%"

height=15 bgColor=#666666 class="linkinterior1" onmouseover="mOvr(this,'#FF9900');"

onmouseout="mOut(this,'#666666');">&nbsp; <a href="#Contato" onClick="MM_openBrWindow('contato.php','','scrollbars=yes,width=700,height=530')">Contato</a></TD>

</TR>

<TR>

<TD width="100%" bgColor=#000000></TD>

</TABLE>

<?php

mysql_free_result($rs);

mysql_close($conexao);

?>



Cores.php que é o css de todo o site.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>

<head>

<title>.:: Portal CIP&Oacute; ::. o seu portal da Serra do Cipo / Serra do Cip&oacute; -MG</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

</head>

<script language=javascript>

function mOvr(src,clrOver) {

if (!src.contains(event.fromElement)) {

src.style.cursor = 'hand';

src.bgColor = clrOver;

}

}

function mOut(src,clrIn) {

if (!src.contains(event.toElement)) {

src.style.cursor = 'hand';

src.bgColor = clrIn;

}

}

</SCRIPT>

<STYLE type=text/css>BODY {

FONT-SIZE: 8pt; FONT-FAMILY: verdana, arial

}

TD {

FONT-SIZE: 8pt; FONT-FAMILY: verdana, arial

}

A:link {

FONT-WEIGHT: normal; FONT-SIZE: 8pt; COLOR: #FFFFFF; FONT-FAMILY: verdana, arial; TEXT-DECORATION: none

}

A:visited {

FONT-WEIGHT: normal; FONT-SIZE: 8pt; COLOR: #FFFFFF; FONT-FAMILY: verdana, arial; TEXT-DECORATION: none

}

A:active {

FONT-WEIGHT: normal; FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: verdana, arial; TEXT-DECORATION: none

}

A:hover {

FONT-WEIGHT: normal; FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: verdana, arial; TEXT-DECORATION: none

}

.linkinterior:link {

FONT-WEIGHT: normal; FONT-SIZE: 8pt; COLOR: #000000; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; TEXT-DECORATION: none

}

.linkinterior:visited {

FONT-WEIGHT: normal; FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; TEXT-DECORATION: none

}

.linkinterior:active {

FONT-WEIGHT: normal; FONT-SIZE: 8pt; COLOR: #000000; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif}

.linkinterior:hover {

FONT-WEIGHT: normal; FONT-SIZE: 8pt; COLOR: #000000; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; TEXT-DECORATION: underline}

</STYLE>

<style type="text/css">

<!--

body {

scrollbar-face-color: #D6D6D6;

scrollbar-highlight-color: #FFCC00;

scrollbar-3dlight-color: #;

scrollbar-darkshadow-color: #;

scrollbar-shadow-color: #FFCC00;

scrollbar-arrow-color: #FF9900;

scrollbar-track-color: #F4F4F4;}

a {text-decoration: none;}

a:hover {color: #000000; text-decoration: underline;}

-->

</style>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">

<p>

<script language="JavaScript">

<!--

function MM_openBrWindow(theURL,winName,features) { //v2.0

window.open(theURL,winName,features);

}

//-->

</SCRIPT>

<script language="javascript">

<!--

var url

function Abrir(url)

{

window.open(url,"resp","resizable=no,toolbar=no,status=no,menubar=no,scrollbars=yes,width=200,height=150");

}

//-->

</SCRIPT>



Este e o aquivo de funçoes do menu POP up q quero implementar.

var mmOpenContainer = null;
var mmOpenMenus = null;
var mmHideMenuTimer = null;

function MM_menuStartTimeout(hideTimeout) {
mmHideMenuTimer = setTimeout("MM_menuHideMenus()", hideTimeout);
}

function MM_menuHideMenus() {
MM_menuResetTimeout();
if(mmOpenContainer) {
var c = document.getElementById(mmOpenContainer);
c.style.visibility = "inherit";
mmOpenContainer = null;
}
if( mmOpenMenus ) {
for(var i = 0; i < mmOpenMenus.length ; i++) {
var m = document.getElementById(mmOpenMenus[i]);
m.style.visibility = "hidden";
}
mmOpenMenus = null;
}
}

function MM_menuHideSubmenus(menuName) {
if( mmOpenMenus ) {
var h = false;
var c = 0;
for(var i = 0; i < mmOpenMenus.length ; i++) {
if( h ) {
var m = document.getElementById(mmOpenMenus[i]);
m.style.visibility = "hidden";
} else if( mmOpenMenus[i] == menuName ) {
h = true;
} else {
c++;
}
}
mmOpenMenus.length = c+1;
}
}

function MM_menuOverMenuItem(menuName, subMenuSuffix) {
MM_menuResetTimeout();
MM_menuHideSubmenus(menuName);
if( subMenuSuffix ) {
var subMenuName = "" + menuName + "_" + subMenuSuffix;
MM_menuShowSubMenu(subMenuName);
}
}

function MM_menuShowSubMenu(subMenuName) {
MM_menuResetTimeout();
var e = document.getElementById(subMenuName);
e.style.visibility = "inherit";
if( !mmOpenMenus ) {
mmOpenMenus = new Array;
}
mmOpenMenus[mmOpenMenus.length] = "" + subMenuName;
}

function MM_menuResetTimeout() {
if (mmHideMenuTimer) clearTimeout(mmHideMenuTimer);
mmHideMenuTimer = null;
}

function MM_menuShowMenu(containName, menuName, xOffset, yOffset, triggerName) {
MM_menuHideMenus();
MM_menuResetTimeout();
MM_menuShowMenuContainer(containName, xOffset, yOffset, triggerName);
MM_menuShowSubMenu(menuName);
}

function MM_menuShowMenuContainer(containName, x, y, triggerName) {
var c = document.getElementById(containName);
var s = c.style;
s.visibility = "inherit";

mmOpenContainer = "" + containName;
}




E este e o meldito do codigo css gerando pelo fireworks que nao fica so no Cima.php, influencia tb o menu.php.

td img {
/* Another Mozilla/Netscape bug with making sure our images display correctly */
display: block;
}

#FWTableContainer1311604633 {
/* The master div to make sure that our popup menus get aligned correctly. Be careful when playing with this one. */
position:relative;
margin:0px;
width:780px;
height:117px;
text-align:left;
}

#MMMenuContainer0415052629_0 {
/* This ID is related to the master menu div for menu MMMenuContainer0415052629_0 and contains the important positioning information for the menu as a whole */
position:absolute;
left:415px;
top:-22px;
visibility:hidden;
z-index:300;
}

#MMMenu0415052629_0 {
/* This class defines things about menu MMMenu0415052629_0's div. */
position:absolute;
left:0px;
top:0px;
visibility:hidden;
background-color:#555555;
border:1px solid #555555;
width:339px;
height:26px;
}

.MMMIFVStyleMMMenu0415052629_0 {
/* This class determines the general characteristics of the menu items in menu MMMenu0415052629_0 */
border-top:1px solid #ffffff;
border-left:1px solid #ffffff;
border-bottom:1px solid #555555;
border-right:1px solid #555555;
width:339px;
height:26px;
voice-family: "\"}\"";
voice-family:inherit;
width:331px;
height:18px;
}

#MMMenu0415052629_0_Item_0 {
/* Unique ID for item 0 of menu MMMenu0415052629_0 so we can set its position */
left:0px;
top:0px;
}

#MMMenuContainer0415052629_0 img {
/* needed for Mozilla/Camino/Netscape */
border:0px;
}

#MMMenuContainer0415052629_0 a {
/* Controls the general apperance for menu MMMenuContainer0415052629_0's items, including color and font */
text-decoration:none;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:14px;
color:#ffffff;
text-align:left;
vertical-align:middle;
padding:3px;
background-color:#999999;
font-weight:normal;
font-style:normal;
display:block;
position:absolute;
}

#MMMenuContainer0415052629_0 a:hover {
/* Controls the mouse over effects for menu MMMenuContainer0415052629_0 */
color:#ffffff;
background-color:#999999;
}
#MMMenuContainer0415052629_1 {
/* This ID is related to the master menu div for menu MMMenuContainer0415052629_1 and contains the important positioning information for the menu as a whole */
position:absolute;
left:389px;
top:-22px;
visibility:hidden;
z-index:300;
}

#MMMenu0415052629_1 {
/* This class defines things about menu MMMenu0415052629_1's div. */
position:absolute;
left:0px;
top:0px;
visibility:hidden;
background-color:#555555;
border:1px solid #555555;
width:180px;
height:26px;
}

.MMMIFVStyleMMMenu0415052629_1 {
/* This class determines the general characteristics of the menu items in menu MMMenu0415052629_1 */
border-top:1px solid #ffffff;
border-left:1px solid #ffffff;
border-bottom:1px solid #555555;
border-right:1px solid #555555;
width:180px;
height:26px;
voice-family: "\"}\"";
voice-family:inherit;
width:172px;
height:18px;
}

#MMMenu0415052629_1_Item_0 {
/* Unique ID for item 0 of menu MMMenu0415052629_1 so we can set its position */
left:0px;
top:0px;
}

#MMMenuContainer0415052629_1 img {
/* needed for Mozilla/Camino/Netscape */
border:0px;
}

#MMMenuContainer0415052629_1 a {
/* Controls the general apperance for menu MMMenuContainer0415052629_1's items, including color and font */
text-decoration:none;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:14px;
color:#ffffff;
text-align:left;
vertical-align:middle;
padding:3px;
background-color:#999999;
font-weight:normal;
font-style:normal;
display:block;
position:absolute;
}

#MMMenuContainer0415052629_1 a:hover {
/* Controls the mouse over effects for menu MMMenuContainer0415052629_1 */
color:#ffffff;
background-color:#999999;
}
#MMMenuContainer0415052629_2 {
/* This ID is related to the master menu div for menu MMMenuContainer0415052629_2 and contains the important positioning information for the menu as a whole */
position:absolute;
left:18px;
top:-22px;
visibility:hidden;
z-index:300;
}

#MMMenu0415052629_2 {
/* This class defines things about menu MMMenu0415052629_2's div. */
position:absolute;
left:0px;
top:0px;
visibility:hidden;
background-color:#555555;
border:1px solid #555555;
width:740px;
height:26px;
}

.MMMIFVStyleMMMenu0415052629_2 {
/* This class determines the general characteristics of the menu items in menu MMMenu0415052629_2 */
border-top:1px solid #ffffff;
border-left:1px solid #ffffff;
border-bottom:1px solid #555555;
border-right:1px solid #555555;
width:740px;
height:26px;
voice-family: "\"}\"";
voice-family:inherit;
width:732px;
height:18px;
}

#MMMenu0415052629_2_Item_0 {
/* Unique ID for item 0 of menu MMMenu0415052629_2 so we can set its position */
left:0px;
top:0px;
}

#MMMenuContainer0415052629_2 img {
/* needed for Mozilla/Camino/Netscape */
border:0px;
}

#MMMenuContainer0415052629_2 a {
/* Controls the general apperance for menu MMMenuContainer0415052629_2's items, including color and font */
text-decoration:none;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:14px;
color:#ffffff;
text-align:left;
vertical-align:middle;
padding:3px;
background-color:#999999;
font-weight:normal;
font-style:normal;
display:block;
position:absolute;
}

#MMMenuContainer0415052629_2 a:hover {
/* Controls the mouse over effects for menu MMMenuContainer0415052629_2 */
color:#ffffff;
background-color:#999999;
}
#MMMenuContainer0415052629_3 {
/* This ID is related to the master menu div for menu MMMenuContainer0415052629_3 and contains the important positioning information for the menu as a whole */
position:absolute;
left:222px;
top:-22px;
visibility:hidden;
z-index:300;
}

#MMMenu0415052629_3 {
/* This class defines things about menu MMMenu0415052629_3's div. */
position:absolute;
left:0px;
top:0px;
visibility:hidden;
background-color:#555555;
border:1px solid #555555;
width:191px;
height:26px;
}

.MMMIFVStyleMMMenu0415052629_3 {
/* This class determines the general characteristics of the menu items in menu MMMenu0415052629_3 */
border-top:1px solid #ffffff;
border-left:1px solid #ffffff;
border-bottom:1px solid #555555;
border-right:1px solid #555555;
width:191px;
height:26px;
voice-family: "\"}\"";
voice-family:inherit;
width:183px;
height:18px;
}

#MMMenu0415052629_3_Item_0 {
/* Unique ID for item 0 of menu MMMenu0415052629_3 so we can set its position */
left:0px;
top:0px;
}

#MMMenuContainer0415052629_3 img {
/* needed for Mozilla/Camino/Netscape */
border:0px;
}

#MMMenuContainer0415052629_3 a {
/* Controls the general apperance for menu MMMenuContainer0415052629_3's items, including color and font */
text-decoration:none;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:14px;
color:#ffffff;
text-align:left;
vertical-align:middle;
padding:3px;
background-color:#999999;
font-weight:normal;
font-style:normal;
display:block;
position:absolute;
}

#MMMenuContainer0415052629_3 a:hover {
/* Controls the mouse over effects for menu MMMenuContainer0415052629_3 */
color:#ffffff;
background-color:#999999;
}
#MMMenuContainer0415052629_4 {
/* This ID is related to the master menu div for menu MMMenuContainer0415052629_4 and contains the important positioning information for the menu as a whole */
position:absolute;
left:45px;
top:-22px;
visibility:hidden;
z-index:300;
}

#MMMenu0415052629_4 {
/* This class defines things about menu MMMenu0415052629_4's div. */
position:absolute;
left:0px;
top:0px;
visibility:hidden;
background-color:#555555;
border:1px solid #555555;
width:209px;
height:26px;
}

.MMMIFVStyleMMMenu0415052629_4 {
/* This class determines the general characteristics of the menu items in menu MMMenu0415052629_4 */
border-top:1px solid #ffffff;
border-left:1px solid #ffffff;
border-bottom:1px solid #555555;
border-right:1px solid #555555;
width:209px;
height:26px;
voice-family: "\"}\"";
voice-family:inherit;
width:201px;
height:18px;
}

#MMMenu0415052629_4_Item_0 {
/* Unique ID for item 0 of menu MMMenu0415052629_4 so we can set its position */
left:0px;
top:0px;
}

#MMMenuContainer0415052629_4 img {
/* needed for Mozilla/Camino/Netscape */
border:0px;
}

#MMMenuContainer0415052629_4 a {
/* Controls the general apperance for menu MMMenuContainer0415052629_4's items, including color and font */
text-decoration:none;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:14px;
color:#ffffff;
text-align:left;
vertical-align:middle;
padding:3px;
background-color:#999999;
font-weight:normal;
font-style:normal;
display:block;
position:absolute;
}

#MMMenuContainer0415052629_4 a:hover {
/* Controls the mouse over effects for menu MMMenuContainer0415052629_4 */
color:#ffffff;
background-color:#999999;
}




#998357 Info.Php (Ajuda)

Posted by Tullius on 16/04/2010, 01:58 in PHP

OT é OTSERVER, e isso que ele esta falando ai e do jogo online de rpg chamdo tibia.

Ele esta tentando fazer uma reprodução do jogo deselvolvido pela cipsoft.

Existem varios ot server por ai, mas como a desenvolvedora cipsoft nao autoriza os mesmo, não irei ajudar, seria o mesmo que fornecer um crack ou um serial para um programa que deveria ser pago.

cya




IPB Skin By Virteq