Ir para conteúdo

Arquivado

Este tópico foi arquivado e está fechado para novas respostas.

juliana

menu

Recommended Posts

Estou tendo problemas quando faço o menu pop no dreamweaver e depois salvo a página em php. Os códigos se misturam e qdo passo tudo para php os submenus não funcionam.Alguém tem uma dica?

Compartilhar este post


Link para o post
Compartilhar em outros sites

Porque você ja não cria o menu popup em uma página em PHP, em vez de criar o menu em uma página html e depois salvar em php?

Compartilhar este post


Link para o post
Compartilhar em outros sites

Juliana uso com frequecia o dw para criar menus em páginas com php e nunca tive problemas...você está usando os behaviors?você está fazendo...porque não teria como misturar, pois o codigo gerado pelo dw é java Script...como é exatamente essa sua página?abraçosMarcio

Compartilhar este post


Link para o post
Compartilhar em outros sites

o código é:

 

<?

$today = getdate();

//$mes = $today['month'];

$mesl = "Julho";

$dial = $today['mday'];

$anol = $today['year'];

//$mescorrente = Array('Janeiro','Fevereiro','Março','Abril','Maio','Junho','Julho','Agosto','Setembro','Outubro','Novembro','Dezembro');

 

//include("../cabecalho.php");

?>

 

 

echo("

<html>

<head>

<meta http-equiv='Content-Type' content='text/html; charset=windows-1252'>

<meta name='GENERATOR' content='Microsoft FrontPage 4.0'>

<meta name='ProgId' content='FrontPage.Editor.Document'>

<title></title>

<link href='file:///G|/links.css' rel='stylesheet' type='text/css'>

<link href='file:///L|/links.css' rel='stylesheet' type='text/css'>

<script language="JavaScript">

<!--

function mmLoadMenus() {

if (window.mm_menu_0713104453_0) return;

window.mm_menu_0713104453_0 = new Menu("root",190,16,"Verdana, Arial, Helvetica, sans-serif",10,"#003366","#666666","#F2F2F2","#F2F2F2","left","middle",3,0,50,-5,7,true,true,true,0,false,true);

mm_menu_0713104453_0.addMenuItem("Legislação Educacional","location='http://10.11.228.2/legislacao/legislacaoeducacional.php'");

mm_menu_0713104453_0.addMenuItem("Portarias e Regulamentos","location='http://10.11.228.2/portarias/portarias.php'");

mm_menu_0713104453_0.hideOnMouseOut=true;

mm_menu_0713104453_0.bgColor='#003366';

mm_menu_0713104453_0.menuBorder=1;

mm_menu_0713104453_0.menuLiteBgColor='#FFFFFF';

mm_menu_0713104453_0.menuBorderBgColor='#F2F2F2';

 

mm_menu_0713104453_0.writeMenus();

} // mmLoadMenus()

//-->

</script>

<script language="JavaScript" src="mm_menu.js"></script>

</head>

 

<body leftmargin='21'>

<script language="JavaScript1.2">mmLoadMenus();</script>

<table width='152' border='0' align='left' cellpadding='2' cellspacing='0'>

<!--DWLayoutTable-->

<tr>

<td width='141' height='272' background='../layout/fundo/intranet_menu1.gif'>

<table width='95%' border='0' align='right' cellpadding='2' cellspacing='2'>

<tr>

<td width='12%' valign='top'><font color='#003366' size='1' face='Verdana, Arial, Helvetica, sans-serif'>::

</font></td>

<td width='88%'><font color='#003366' size='1' face='Verdana, Arial, Helvetica, sans-serif'><a href='http://10.11.228.2/Agenda/agenda_menu.php' class='link2'>Agenda

On-line</a></font></td>

</tr>

<tr>

<td valign='top'><font color='#003366' size='1' face='Verdana, Arial, Helvetica, sans-serif'>::</font></td>

<td><font color='#003366' size='1' face='Verdana, Arial, Helvetica, sans-serif'><a href='../cipa/cipa.php' class='link2'>Comissão

Interna de Prevenção de Acidentes - CIPA</a></font></td>

</tr>

<tr>

<td valign='top'><font color='#003366' size='1' face='Verdana, Arial, Helvetica, sans-serif'>::</font></td>

<td><font color='#003366' size='1' face='Verdana, Arial, Helvetica, sans-serif'>

<a href='http://10.11.228.2/convenios.php' class='link2'>Convênios</a></font></td>

</tr>

<tr>

<td valign='top'><font color='#003366' size='1' face='Verdana, Arial, Helvetica, sans-serif'>::</font></td>

<td><font color='#003366' size='1' face='Verdana, Arial, Helvetica, sans-serif'><a href='../coordenacao/coordenacao.php' class='link2'>Coordenações

Acadêmicas</a> </font></td>

</tr>

<tr>

<td valign='top'><font color='#003366' size='1' face='Verdana, Arial, Helvetica, sans-serif'>::</font></td>

<td><font color='#003366' size='1' face='Verdana, Arial, Helvetica, sans-serif'><a href='../financeiro/medidasadm.php' class='link2'>Departamento

Administrativo-Financeiro</a></font></td>

</tr>

<tr>

<td valign='top'><font color='#003366' size='1' face='Verdana, Arial, Helvetica, sans-serif'>::</font></td>

<td><font color='#003366' size='1' face='Verdana, Arial, Helvetica, sans-serif'><a href='../index.php' name='link3' class='link2' id="link1" onMouseOver="MM_showMenu(window.mm_menu_0713104453_0,90,0,null,'link3')" onMouseOut="MM_startTimeout();" >Departamento

Jurídico</a></font></td>

</tr>

<tr>

<td><font color='#003366' size='1' face='Verdana, Arial, Helvetica, sans-serif'>::

</font></td>

<td><font color='#003366' size='1' face='Verdana, Arial, Helvetica, sans-serif'><a href='http://10.11.228.2/emails.php' class='link2'>E-mails

e Ramais</a></font></td>

</tr>

<tr>

<td height='16' valign='top'><font color='#003366' size='1' face='Verdana, Arial, Helvetica, sans-serif'>::</font></td>

<td><font color='#003366' size='1' face='Verdana, Arial, Helvetica, sans-serif'><a href='http://10.11.228.2/noticias/noticias.php?idjornal=11' class='link2'>Fique

Sabendo</a></font></td>

</tr>

<tr>

<td height='16' valign='top'><font color='#003366' size='1' face='Verdana, Arial, Helvetica, sans-serif'>::

</font></td>

<td><font color='#003366' size='1' face='Verdana, Arial, Helvetica, sans-serif'><a href='http://10.11.228.2/formularios.php' class='link2'>

Formulários</a></font></td>

</tr>

<tr>

<td height='16' valign='top'><font color='#003366' size='1' face='Verdana, Arial, Helvetica, sans-serif'>::</font></td>

<td height='16'><font color='#003366' size='1' face='Verdana, Arial, Helvetica, sans-serif'><a href='http://10.11.228.2/manual%20marketing,%20comunicacao%20e%20eventos.doc' target='_blank' class='link2'>Manual

de Normas e Procedimentos</a></font></td

>

</tr>

<tr>

<td height='16' valign='top'><font color='#003366' size='1' face='Verdana, Arial, Helvetica, sans-serif'>::</font></td>

<td height='16'><font size='1' face='Verdana, Arial, Helvetica, sans-serif' class='link2'><a href='http://10.11.228.2/portarias/portarias.php' class='link2'>Portarias

e Regulamentos</a></font></td>

</tr>

<tr>

<td height='16' valign='top'><font color='#003366' size='1' face='Verdana, Arial, Helvetica, sans-serif'>::</font></td>

<td height='16'><font color='#003366' size='1' face='Verdana, Arial, Helvetica, sans-serif'><a href='http://10.11.228.2/sga/muralsga.php' class='link2'>Secretaria

Geral Acadêmica</a></font></td>

</tr>

<tr>

<td height='16' valign='top'><font color='#003366' size='1' face='Verdana, Arial, Helvetica, sans-serif'>::</font></td>

<td height='16'><font color='#003366' size='1' face='Verdana, Arial, Helvetica, sans-serif'><a href='http://10.11.228.2/vestibular18-07/vestibular_informacoes.php' class='link2'>Vestibular</a></font></td>

</tr>

<tr>

<td height='16'><font color='#003366' size='1' face='Verdana, Arial, Helvetica, sans-serif'>::</font></td>

<td height='16'><font color='#003366' size='1' face='Verdana, Arial, Helvetica, sans-serif'><a href='http://10.11.228.2/pre_login.php' class='link2'>Área

Restrita</a></font></td>

</tr>

</table></td>

</tr>

<tr>

<td height='73' background='../layout/fundo/intranet_menu2.gif'> </td>

</tr>

</table>

</body>

 

</html>

 

");

?>

 

está em vermelho.

Compartilhar este post


Link para o post
Compartilhar em outros sites

Testa ai ..<?$today = getdate(); //$mes = $today['month']; $mesl = 'Julho'; $dial = $today['mday']; $anol = $today['year']; //$mescorrente = Array('Janeiro','Fevereiro','Março','Abril','Maio','Junho','Julho','Agosto','Setembro','Outubro','Novembro','Dezembro');//include('../cabecalho.php');?><?echo("<html><head><meta http-equiv='Content-Type' content='text/html; charset=windows-1252'><meta name='GENERATOR' content='Microsoft FrontPage 4.0'><meta name='ProgId' content='FrontPage.Editor.Document'><title></title><link href='file:///G|/links.css' rel='stylesheet' type='text/css'><link href='file:///L|/links.css' rel='stylesheet' type='text/css'><script language='JavaScript'><!--function mmLoadMenus() {if (window.mm_menu_0713104453_0) return;window.mm_menu_0713104453_0 = new Menu('root',190,16,'Verdana, Arial, Helvetica, sans-serif',10,'#003366','#666666','#F2F2F2','#F2F2F2','left','middle',3,0,50,-5,7,true,true,true,0,false,true);mm_menu_0713104453_0.addMenuItem('Legislação Educacional','location='http://10.11.228.2/legislacao/legislacaoeducacional.php'');mm_menu_0713104453_0.addMenuItem('Portarias e Regulamentos','location='http://10.11.228.2/portarias/portarias.php'');mm_menu_0713104453_0.hideOnMouseOut=true;mm_menu_0713104453_0.bgColor='#003366';mm_menu_0713104453_0.menuBorder=1;mm_menu_0713104453_0.menuLiteBgColor='#FFFFFF';mm_menu_0713104453_0.menuBorderBgColor='#F2F2F2';mm_menu_0713104453_0.writeMenus();} // mmLoadMenus()//--></script><script language='JavaScript' src='mm_menu.js'></script></head><body leftmargin='21'><script language='JavaScript1.2'>mmLoadMenus();</script><table width='152' border='0' align='left' cellpadding='2' cellspacing='0'><!--DWLayoutTable--><tr> <td width='141' height='272' background='../layout/fundo/intranet_menu1.gif'> <table width='95%' border='0' align='right' cellpadding='2' cellspacing='2'><tr> <td width='12%' valign='top'><font color='#003366' size='1' face='Verdana, Arial, Helvetica, sans-serif'>:: </font></td><td width='88%'><font color='#003366' size='1' face='Verdana, Arial, Helvetica, sans-serif'><a href='http://10.11.228.2/Agenda/agenda_menu.php' class='link2'>Agenda On-line</a></font></td></tr><tr> <td valign='top'><font color='#003366' size='1' face='Verdana, Arial, Helvetica, sans-serif'>::</font></td><td><font color='#003366' size='1' face='Verdana, Arial, Helvetica, sans-serif'><a href='../cipa/cipa.php' class='link2'>Comissão Interna de Prevenção de Acidentes - CIPA</a></font></td></tr><tr> <td valign='top'><font color='#003366' size='1' face='Verdana, Arial, Helvetica, sans-serif'>::</font></td><td><font color='#003366' size='1' face='Verdana, Arial, Helvetica, sans-serif'> <a href='http://10.11.228.2/convenios.php' class='link2'>Convênios</a></font></td></tr><tr> <td valign='top'><font color='#003366' size='1' face='Verdana, Arial, Helvetica, sans-serif'>::</font></td><td><font color='#003366' size='1' face='Verdana, Arial, Helvetica, sans-serif'><a href='../coordenacao/coordenacao.php' class='link2'>Coordenações Acadêmicas</a> </font></td></tr><tr> <td valign='top'><font color='#003366' size='1' face='Verdana, Arial, Helvetica, sans-serif'>::</font></td><td><font color='#003366' size='1' face='Verdana, Arial, Helvetica, sans-serif'><a href='../financeiro/medidasadm.php' class='link2'>Departamento Administrativo-Financeiro</a></font></td></tr><tr> <td valign='top'><font color='#003366' size='1' face='Verdana, Arial, Helvetica, sans-serif'>::</font></td><td><font color='#003366' size='1' face='Verdana, Arial, Helvetica, sans-serif'><a href='../index.php' name='link3' class='link2' id='link1' onMouseOver='MM_showMenu(window.mm_menu_0713104453_0,90,0,null,'link3')' onMouseOut='MM_startTimeout();' >Departamento Jurídico</a></font></td></tr><tr> <td><font color='#003366' size='1' face='Verdana, Arial, Helvetica, sans-serif'>:: </font></td><td><font color='#003366' size='1' face='Verdana, Arial, Helvetica, sans-serif'><a href='http://10.11.228.2/emails.php' class='link2'>E-mails e Ramais</a></font></td></tr><tr> <td height='16' valign='top'><font color='#003366' size='1' face='Verdana, Arial, Helvetica, sans-serif'>::</font></td><td><font color='#003366' size='1' face='Verdana, Arial, Helvetica, sans-serif'><a href='http://10.11.228.2/noticias/noticias.php?idjornal=11' class='link2'>Fique Sabendo</a></font></td></tr><tr> <td height='16' valign='top'><font color='#003366' size='1' face='Verdana, Arial, Helvetica, sans-serif'>:: </font></td><td><font color='#003366' size='1' face='Verdana, Arial, Helvetica, sans-serif'><a href='http://10.11.228.2/formularios.php' class='link2'> Formulários</a></font></td></tr><tr> <td height='16' valign='top'><font color='#003366' size='1' face='Verdana, Arial, Helvetica, sans-serif'>::</font></td><td height='16'><font color='#003366' size='1' face='Verdana, Arial, Helvetica, sans-serif'><a href='http://10.11.228.2/manual%20marketing,%20comunicacao%20e%20eventos.doc' target='_blank' class='link2'>Manual de Normas e Procedimentos</a></font></td></tr><tr> <td height='16' valign='top'><font color='#003366' size='1' face='Verdana, Arial, Helvetica, sans-serif'>::</font></td><td height='16'><font size='1' face='Verdana, Arial, Helvetica, sans-serif' class='link2'><a href='http://10.11.228.2/portarias/portarias.php' class='link2'>Portarias e Regulamentos</a></font></td></tr><tr> <td height='16' valign='top'><font color='#003366' size='1' face='Verdana, Arial, Helvetica, sans-serif'>::</font></td><td height='16'><font color='#003366' size='1' face='Verdana, Arial, Helvetica, sans-serif'><a href='http://10.11.228.2/sga/muralsga.php' class='link2'>Secretaria Geral Acadêmica</a></font></td></tr><tr> <td height='16' valign='top'><font color='#003366' size='1' face='Verdana, Arial, Helvetica, sans-serif'>::</font></td><td height='16'><font color='#003366' size='1' face='Verdana, Arial, Helvetica, sans-serif'><a href='http://10.11.228.2/vestibular18-07/vestibular_informacoes.php' class='link2'>Vestibular</a></font></td></tr><tr> <td height='16'><font color='#003366' size='1' face='Verdana, Arial, Helvetica, sans-serif'>::</font></td><td height='16'><font color='#003366' size='1' face='Verdana, Arial, Helvetica, sans-serif'><a href='http://10.11.228.2/pre_login.php' class='link2'>Área Restrita</a></font></td></tr></table></td></tr><tr> <td height='73' background='../layout/fundo/intranet_menu2.gif'> </td></tr></table></body></html>");?>

Compartilhar este post


Link para o post
Compartilhar em outros sites

Olá!

 

Desculpe por ser breve, mas utilize um "include" no seu php e o organize desta maneira, não haverá problema algum:

PHP [/tr][tr]

/*

* Samyr Abrahão Moises <samyrmoises * imasters>

* 2004

* include file

*/

 

include("pasta/nome.htm")

[/tr]

 

assim, você poderá identar seu código e não perder funcionalidade: SOMENTE VERIFIQUE SE NÃO HÁ VARIÁVEIS DE MESMO NOME.

 

Abraço!

 

/*

* Samyr Abrahão Moises <samyrmoises * imasters>

* 2004

* include file

*/

Compartilhar este post


Link para o post
Compartilhar em outros sites

×

Informação importante

Ao usar o fórum, você concorda com nossos Termos e condições.

Este projeto é mantido e patrocinado pelas empresas:
Hospedado por: