Usamos cookies para medir audiência e melhorar sua experiência. Você pode aceitar ou recusar a qualquer momento. Veja sobre o iMasters.
Galera bora tarde minha duvida e o seguinte to com o script do agora rio aqui
e gostaria de mudar o menu dele queria colocar um efeito tipo desse site aqui
http://www.tribunadoparana.com.br/ mais ja tentei css tentei de tudo e nada
o que ocorre e que o menu e criado direto pela administraçao do portal
entaum nao sei como manipular isso para que ele funcione com esses efeitos de quando passar o mouse em cima
mudar de cor. Agradeço a ajuda de todos antes de mais nada...
Menu.php ai o arquivo
<?
$sql = mysql_query("SELECT * FROM menu WHERE nivel='-1' order by id");
?>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="160" border="0" cellpadding="0" cellspacing="2">
<? while ($dados=mysql_fetch_array($sql)){?>
<TR>
<TD height="22" valign="middle" background="<?="images/admin/$dados[imagem]";?>" class="titulosBranco"><font style="text-transform:uppercase;">
<?
if($dados[url] != ""){
echo " • <a href='$dados[url]' target='$dados[target]'>$dados[nome]</a>";
} else{
if($dados[id] == "1004"){
echo "<font color='#FF0000'> • $dados[nome]</font>";
} else {
echo " • $dados[nome]";
}
}
?>
</font></TD>
</TR>
<tr>
<td height="1"><img name="manu_r2_c1" src="img_site/manu_r2_c1.jpg" width="160" height="6" border="0" alt=""></td>
</tr>
<?
//if($dados[subcat] == "sim" AND $dados[id] == "$_GET[idcat]"){
if($dados[subcat] == "S"){
//$sql2 = mysql_query("SELECT * FROM menu_sub where id_menu='$_GET[idcat]'");
$sql2 = mysql_query("SELECT * FROM menu_sub where id_menu='$dados[id]' order by id");
while ($dados2=mysql_fetch_array($sql2)){
if($dados2[url] == "?pg=conteudo&idmenu="){
$url = "<a href='$dados2[url]$dados2[id]' target='$dados2[target]'>$dados2[nome]</a>";
} else {
$url = "<a href='$dados2[url]' target='$dados2[target]'>$dados2[nome]</a>";
}
?>
<TR>
<TD height="17" colspan="2" valign="middle" ><table width="160" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="2" height="20" background="<?="images/admin/$dados[imagem]";?>"></td>
<td width="7"></td>
<td bgcolor="#F3F3F3"><b>
<?=$url?>
</b></td>
</tr>
</table>
<img name="manu_r2_c1" src="img_site/manu_r2_c1.jpg" width="160" height="6" border="0" alt=""></TD>
</TR>
<tr>
<td height="1"></td>
</tr>
<? }?>
<? }?>
<? }?>
</table>Carregando comentários...