..:: MX Studio Fóruns ::..: menu fixo em todas as páginas - ..:: MX Studio Fóruns ::..

Jump to content

Publicidade




ATENÇÃO

Para evitar posts desnecessários e que não influam para o andamento e desenvolvimento do fórum, clique aqui e leia todas as regras.
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

menu fixo em todas as páginas

#1 User is offline   fernandoeick 

  • Group: Membros
  • Posts: 3
  • Joined: 10-August 05

Posted 10 August 2005 - 08:59 PM

Usar um único menu que apareça em todas as páginas do site. Um menu que seja fixo...entendem??? Como faço??

Obrigado!!
0

#2 User is offline   titodj 

  • Group: Membros
  • Posts: 155
  • Joined: 28-March 05

Posted 11 August 2005 - 11:16 AM

QUOTE(fernandoeick @ 10/8/2005 20:08:57)
Usar um único menu que apareça em todas as páginas do site. Um menu que seja fixo...entendem??? Como faço??

Obrigado!!
View Post


cara se entendi bem vc quer q clic no menu e a pareça em um determinado lugar na mesma pagina , se for isso teria q usar iframes onde vc quer q apareça o conteudo do menu selecionado... este seria o comando do iframe
<iframe name=news src="nome.htm" frameborder="0" width="500" height="600"></iframe>

ficaria assim como este site, quando clcar em filmes completos http://www.centralfilmes.com
qualquer divida poste ae. thumbup.gif
0

#3 User is offline   modonesi 

  • Group: Membros
  • Posts: 11
  • Joined: 21-May 04

  Posted 13 August 2005 - 12:35 AM

Tu pode incluir tb por meio de Include.

<!--# include file="menu.asp"-->

ou como nosso amigo falow acima manda por meio de iframe!!


ph34r.gif

QUOTE(fernandoeick @ 10/8/2005 20:08:57)
Usar um único menu que apareça em todas as páginas do site. Um menu que seja fixo...entendem??? Como faço??

Obrigado!!
View Post


0

#4 User is offline   DNA 

  • Group: Membros
  • Posts: 9
  • Joined: 30-May 05

Posted 18 August 2005 - 06:21 PM

Ajudem por favor!!!!! Estou precisando com urgência!!!!!!
Eu fiz o seguinte:
1) Criei um menu horizontal no FW com pop-up.
2) No DW criei um arquivo chamado index com dois frames, o frame superior coloquei o nome de topo.htm e o frame inferior coloquei o nome de meio.htm.
3) No frame topo inseri o html gerado pelo FW do menu que havia feito. Funciona legal.
Agora eu quero fazer com que o menu pop-up corra por cima do frame meio, isso não tá acontecendo, como faço?

Olhem o código:

INDEX

CODE
<head>

<title>index</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
 if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
   document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
 else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
</head>

<frameset rows="44,*" cols="*" framespacing="0" frameborder="no" border="0">
 <frame src="topo.htm" name="topFrame" scrolling="No" noresize="noresize" id="topFrame" />
 <frame src="meio.htm" name="mainFrame" id="mainFrame" />
</frameset>
<noframes>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
</body></noframes>
</html>

----------------------------
TOPO

CODE
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript">
<!--
function mmLoadMenus() {
 if (window.mm_menu_0816113143_0) return;
 window.mm_menu_0816113143_0 = new Menu("root",163,19,"Verdana, Arial, Helvetica, sans-serif",10,"#000000","#ffffff","#ffffff","#cc0000","left","middle",3,0,50,-5,7,true,true,true,0,false,false);
 mm_menu_0816113143_0.addMenuItem("Dicion&aacute;rio&nbsp;Jur&iacute;dico", "window.open('dicionario_juridico.htm', 'meio.htm');");
 mm_menu_0816113143_0.addMenuItem("Modelos&nbsp;de&nbsp;Formul&aacute;rios", "window.open('modelos_de_formularios.htm', 'meio.htm');");
 mm_menu_0816113143_0.addMenuItem("Telefones&nbsp;de&nbsp;Contato", "window.open('telefones_de_contato', 'meio.htm');");
 mm_menu_0816113143_0.addMenuItem("Links&nbsp;do&nbsp;Judici&aacute;rio", "window.open('links_do_judiciario.htm', 'meio.htm');");
 mm_menu_0816113143_0.addMenuItem("Perguntas&nbsp;mais&nbsp;Freq&uuml;entes", "window.open('perguntas_mais_frequentes.htm', 'meio.htm');");
  mm_menu_0816113143_0.bgImageUp="menu/mmmenu1_163x19_up.gif";
  mm_menu_0816113143_0.bgImageOver="menu/mmmenu1_163x19_over.gif";
  mm_menu_0816113143_0.hideOnMouseOut=true;
  mm_menu_0816113143_0.bgColor='#000000';

 mm_menu_0816113143_0.writeMenus();
} // mmLoadMenus()

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_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_nbGroup(event, grpName) { //v6.0
 var i,img,nbArr,args=MM_nbGroup.arguments;
 if (event == "init" && args.length > 2) {
   if ((img = MM_findObj(args[2])) != null && !img.MM_init) {
     img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src;
     if ((nbArr = document[grpName]) == null) nbArr = document[grpName] = new Array();
     nbArr[nbArr.length] = img;
     for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
       if (!img.MM_up) img.MM_up = img.src;
       img.src = img.MM_dn = args[i+1];
       nbArr[nbArr.length] = img;
   } }
 } else if (event == "over") {
   document.MM_nbOver = nbArr = new Array();
   for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args[i])) != null) {
     if (!img.MM_up) img.MM_up = img.src;
     img.src = (img.MM_dn && args[i+2]) ? args[i+2] : ((args[i+1])? args[i+1] : img.MM_up);
     nbArr[nbArr.length] = img;
   }
 } else if (event == "out" ) {
   for (i=0; i < document.MM_nbOver.length; i++) {
     img = document.MM_nbOver[i]; img.src = (img.MM_dn) ? img.MM_dn : img.MM_up; }
 } else if (event == "down") {
   nbArr = document[grpName];
   if (nbArr)
     for (i=0; i < nbArr.length; i++) { img=nbArr[i]; img.src = img.MM_up; img.MM_dn = 0; }
   document[grpName] = nbArr = new Array();
   for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
     if (!img.MM_up) img.MM_up = img.src;
     img.src = img.MM_dn = (args[i+1])? args[i+1] : img.MM_up;
     nbArr[nbArr.length] = img;
 } }
}
//-->
</script>
<script language="JavaScript1.2" src="menu/mm_menu.js"></script>
</head>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="MM_preloadImages('menu/pagina_inicialc2_f3.gif','menu/pagina_inicialc2_f2.gif', 'menu/pagina_inicialc2_f4.gif','menu/menu_r2_c3_f3.gif','menu/menu_r2_c3_f2.gif', 'menu/menu_r2_c3_f4.gif','menu/menu_r2_c4_f3.gif','menu/menu_r2_c4_f2.gif', 'menu/menu_r2_c4_f4.gif','menu/menu_r2_c5_f3.gif','menu/menu_r2_c5_f2.gif', 'menu/menu_r2_c5_f4.gif')">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
 <tr>
   <td> <script language="JavaScript1.2">mmLoadMenus();</script> <table border="0" cellpadding="0" cellspacing="0" width="775">
       <!-- fwtable fwsrc="area_juridica.png" fwbase="menu.gif" fwstyle="Dreamweaver" fwdocid = "742308039" fwnested="0" -->
       <tr>
         <td><img src="menu/spacer.gif" width="26" height="1" border="0" alt=""></td>
         <td><img src="menu/spacer.gif" width="150" height="1" border="0" alt=""></td>
         <td><img src="menu/spacer.gif" width="150" height="1" border="0" alt=""></td>
         <td><img src="menu/spacer.gif" width="150" height="1" border="0" alt=""></td>
         <td><img src="menu/spacer.gif" width="150" height="1" border="0" alt=""></td>
         <td><img src="menu/spacer.gif" width="149" height="1" border="0" alt=""></td>
         <td><img src="menu/spacer.gif" width="1" height="1" border="0" alt=""></td>
       </tr>
       <tr>
         <td colspan="6"><img name="menu_r1_c1" src="menu/menu_r1_c1.gif" width="775" height="24" border="0" alt=""></td>
         <td><img src="menu/spacer.gif" width="1" height="24" border="0" alt=""></td>
       </tr>
       <tr>
         <td rowspan="2"><img name="menu_r2_c1" src="menu/menu_r2_c1.gif" width="26" height="20" border="0" alt=""></td>
         <td><a href="index.htm" target="_self" onMouseOut="MM_nbGroup('out');" onMouseOver="MM_nbGroup('over','pagina_inicialc2','menu/pagina_inicialc2_f2.gif', 'menu/pagina_inicialc2_f4.gif',1);" onClick="MM_nbGroup('down','navbar1','pagina_inicialc2', 'menu/pagina_inicialc2_f3.gif',1);"><img name="pagina_inicialc2" src="menu/pagina_inicialc2.gif" width="150" height="19" border="0" alt=""></a></td>
         <td><a href="institucional.htm" target="_self" onMouseOut="MM_nbGroup('out');" onMouseOver="MM_nbGroup('over','menu_r2_c3','menu/menu_r2_c3_f2.gif', 'menu/menu_r2_c3_f4.gif',1);" onClick="MM_nbGroup('down','navbar1','menu_r2_c3', 'menu/menu_r2_c3_f3.gif',1);"><img name="menu_r2_c3" src="menu/menu_r2_c3.gif" width="150" height="19" border="0" alt=""></a></td>
         <td><a href="javascript:;" target="_top" onClick="MM_nbGroup('down','navbar1','menu_r2_c4','menu/menu_r2_c4_f3.gif',1);" onMouseOver="MM_showMenu(window.mm_menu_0816113143_0,0,19,null, 'menu_r2_c4');MM_nbGroup('over','menu_r2_c4','menu/menu_r2_c4_f2.gif', 'menu/menu_r2_c4_f4.gif',1);" onMouseOut="MM_nbGroup('out');MM_startTimeout();"><img name="menu_r2_c4" src="menu/menu_r2_c4.gif" width="150" height="19" border="0" alt=""></a></td>
         <td><a href="javascript:;" target="_top" onClick="MM_nbGroup('down','navbar1','menu_r2_c5','menu/menu_r2_c5_f3.gif',1);" onMouseOver="MM_nbGroup('over','menu_r2_c5','menu/menu_r2_c5_f2.gif', 'menu/menu_r2_c5_f4.gif',1);" onMouseOut="MM_nbGroup('out');"><img name="menu_r2_c5" src="menu/menu_r2_c5.gif" width="150" height="19" border="0" alt=""></a></td>
         <td rowspan="2"><img name="menu_r2_c6" src="menu/menu_r2_c6.gif" width="149" height="20" border="0" alt=""></td>
         <td><img src="menu/spacer.gif" width="1" height="19" border="0" alt=""></td>
       </tr>
       <tr>
         <td height="2" colspan="4"><img name="menu_r3_c2" src="menu/menu_r3_c2.gif" width="600" height="1" border="0" alt=""></td>
         <td><img src="menu/spacer.gif" width="1" height="1" border="0" alt=""></td>
       </tr>
     </table>
</td>
 </tr>
</table>
</body>
</html>


----------------------
MEIO

CODE
<head>
<title>Documento sem t&iacute;tulo</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
<div id="Layer1" style="position:absolute; left:560px; top:41px; width:163px; height:22px; z-index:1">Preg&atilde;o</div>
<div id="Layer2" style="position:absolute; left:565px; top:71px; width:127px; height:22px; z-index:2">Licita&ccedil;&otilde;es</div>
<div id="Layer3" style="position:absolute; left:565px; top:108px; width:134px; height:22px; z-index:3">Telefones
 de contato</div>
<div id="Layer4" style="position:absolute; left:556px; top:145px; width:0px; height:1px; z-index:4"></div>
<div id="Layer5" style="position:absolute; left:560px; top:146px; width:156px; height:22px; z-index:5">Formul&aacute;rios</div>
<div id="Layer6" style="position:absolute; left:555px; top:183px; width:163px; height:22px; z-index:6">Organograma</div>
<table width="775" border="0" cellpadding="0" cellspacing="0">
 <!--DWLayoutTable-->
 <tr>
   <td width="179" height="5"></td>
   <td width="373"></td>
   <td width="223"></td>
 </tr>
 <tr>
   <td height="426"></td>
   <td valign="top"><img src="img/fundo_ceee.gif" width="373" height="334" /></td>
   <td></td>
 </tr>
 <tr>
   <td height="20"></td>
   <td>&nbsp;</td>
   <td></td>
 </tr>
</table>
</body>
</html>


Valeu pra quem teve paciência de ajudar!!!!!!

This post has been edited by Danilo Santana: 18 August 2005 - 07:58 PM

0

#5 User is offline   DNA 

  • Group: Membros
  • Posts: 9
  • Joined: 30-May 05

Posted 23 August 2005 - 12:08 AM

Pessoal, será que é tão difícil?
Eu só quero que um menu pop-up de um frame superior role por cima do conteúdo do frame de baixo.
Não tem nenhuma opção no DW que faça isso?

Valew
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic


Similar Topics Collapse

  Topic Forum Started By Stats Last Post Info
New Replies Lançado dispositivo de segurança para telefone fixo VoIP Notícias Notícias 
  • 0 Replies
  • 355 Views
New Replies Joomla e Flash
Como fazer um menu flash no Joomla?
Flash & ActionScript davidbailey 
  • 2 Replies
  • 3997 Views
New Replies Menu Mx Studio
Efeito Drop Down
Flash & ActionScript Homem Sem Reflexo 
  • 9 Replies
  • 2101 Views
New Replies Menu em flash
Como criar menu em flash?
Flash & ActionScript Carlos _Costa 
  • 2 Replies
  • 1839 Views
New Replies Gostaria de aprender mais essa
Esse menu ficou show.
Flash & ActionScript Jaidelson 
  • 3 Replies
  • 1001 Views
New Replies edit in place
menu, não estou conseguindo
Flash & ActionScript phabyo 
  • 7 Replies
  • 1324 Views
New Replies fixox uawl jbrtr sj tpop Eventos Ttrxcvlrk 
  • 0 Replies
  • 2 Views
New Replies Conversao de paginas em ASP p/ PHP
Request.form
PHP ferazia 
  • 4 Replies
  • 1889 Views

Publicidade




2 User(s) are reading this topic
0 membro(s), 2 visitante(s) e 0 membros anônimo(s)