Ir para conteúdo
Fórum Script Brasil
  • 0

Problemas Com Menu Pop-up Em Frames


rlaurenti

Pergunta

Fiz um menu pop-up no fireworks 8 e inseri num frame.

O menu é horizontal e os frames também..

quis deixar o menu em um frame e o conteúdo no frame de baixo

o problema é que o menu não aparece

como eu resolvo isso:

os códigos:

da página de frames

<html>

<head>
<title>Nova pagina 1</title>
</head>

<frameset framespacing="0" border="0" frameborder="0" rows="30,*">
  <frame name="menu" scrolling="no" noresize target="principal" src="arquivos/menu.htm" marginwidth="0" marginheight="0">
  <frame name="principal" src="arquivos/titulo.html" marginwidth="0" marginheight="0" scrolling="auto" noresize target="_self">
  <noframes>

  <p>Esta página usa quadros mas seu navegador não aceita quadros.</p>

  </body>
  </noframes>
</frameset>

</html>
do menu:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- saved from url=(0014)about:internet -->
<html>
<head>
<title>menu.gif</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!--Fireworks 8 Frontpage target.  Created Fri May 25 10:31:38 GMT-0300 (Hora oficial do Brasil) 2007-->
<script language="JavaScript">
<!--
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_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

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];}}
}

//-->
</script>
<script language="JavaScript1.2" type="text/javascript" src="mm_css_menu.js"></script>
<style type="text/css" media="screen">
    @import url("./menu.css");
</style>
<base target="principal">
</head>
<body bgcolor="#999999" onLoad="MM_preloadImages('menu/menu_r1_c1_f2.gif','menu/menu_r1_c2_f2.gif','menu/menu_r1_c3_f2.gif','menu/menu_r1_c4_f2.gif','menu/menu_r1_c5_f2.gif');">
<div id="FWTableContainer923545446">
<table border="0" cellpadding="0" cellspacing="0" width="1024">
<!-- fwtable fwsrc="menu.png" fwbase="menu.gif" fwstyle="FrontPage" fwdocid = "923545446" fwnested="0" -->
  <tr>
   <td><img src="menu/spacer.gif" width="151" height="1" border="0" alt=""></td>
   <td><img src="menu/spacer.gif" width="159" height="1" border="0" alt=""></td>
   <td><img src="menu/spacer.gif" width="191" height="1" border="0" alt=""></td>
   <td><img src="menu/spacer.gif" width="163" height="1" border="0" alt=""></td>
   <td><img src="menu/spacer.gif" width="121" height="1" border="0" alt=""></td>
   <td><img src="menu/spacer.gif" width="38" height="1" border="0" alt=""></td>
   <td><img src="menu/spacer.gif" width="56" height="1" border="0" alt=""></td>
   <td><img src="menu/spacer.gif" width="57" height="1" border="0" alt=""></td>
   <td><img src="menu/spacer.gif" width="72" height="1" border="0" alt=""></td>
   <td><img src="menu/spacer.gif" width="16" height="1" border="0" alt=""></td>
   <td><img src="menu/spacer.gif" width="1" height="1" border="0" alt=""></td>
  </tr>

  <tr>
   <td><a href="java script:;" onMouseOut="MM_swapImgRestore();MM_menuStartTimeout(1000);" onMouseOver="MM_menuShowMenu('MMMenuContainer0525023229_0', 'MMMenu0525023229_0',-1,30,'menu_r1_c1');MM_swapImage('menu_r1_c1','','menu/menu_r1_c1_f2.gif',1);"><img name="menu_r1_c1" src="menu/menu_r1_c1.gif" width="151" height="30" border="0" alt=""></a></td>
   <td><a href="java script:;" onMouseOut="MM_swapImgRestore();MM_menuStartTimeout(1000);" onMouseOver="MM_menuShowMenu('MMMenuContainer0525023621_1', 'MMMenu0525023621_1',0,30,'menu_r1_c2');MM_swapImage('menu_r1_c2','','menu/menu_r1_c2_f2.gif',1);"><img name="menu_r1_c2" src="menu/menu_r1_c2.gif" width="159" height="30" border="0" alt=""></a></td>
   <td><a href="java script:;" onMouseOut="MM_swapImgRestore();MM_menuStartTimeout(1000);" onMouseOver="MM_menuShowMenu('MMMenuContainer0525023713_2', 'MMMenu0525023713_2',0,30,'menu_r1_c3');MM_swapImage('menu_r1_c3','','menu/menu_r1_c3_f2.gif',1);"><img name="menu_r1_c3" src="menu/menu_r1_c3.gif" width="191" height="30" border="0" alt=""></a></td>
   <td><a href="java script:;" onMouseOut="MM_swapImgRestore();MM_menuStartTimeout(1000);" onMouseOver="MM_menuShowMenu('MMMenuContainer0525023740_3', 'MMMenu0525023740_3',0,30,'menu_r1_c4');MM_swapImage('menu_r1_c4','','menu/menu_r1_c4_f2.gif',1);"><img name="menu_r1_c4" src="menu/menu_r1_c4.gif" width="163" height="30" border="0" alt=""></a></td>
   <td><a href="java script:;" onMouseOut="MM_swapImgRestore();MM_menuStartTimeout(1000);" onMouseOver="MM_menuShowMenu('MMMenuContainer0525023822_4', 'MMMenu0525023822_4',0,30,'menu_r1_c5');MM_swapImage('menu_r1_c5','','menu/menu_r1_c5_f2.gif',1);"><img name="menu_r1_c5" src="menu/menu_r1_c5.gif" width="121" height="30" border="0" alt=""></a></td>
   <td><img name="menu_r1_c6" src="menu/menu_r1_c6.gif" width="38" height="30" border="0" alt=""></td>
   <td><img name="menu_r1_c7" src="menu/menu_r1_c7.gif" width="56" height="30" border="0" alt=""></td>
   <td><img name="menu_r1_c8" src="menu/menu_r1_c8.gif" width="57" height="30" border="0" alt=""></td>
   <td><img name="menu_r1_c9" src="menu/menu_r1_c9.gif" width="72" height="30" border="0" alt=""></td>
   <td><img name="menu_r1_c10" src="menu/menu_r1_c10.gif" width="16" height="30" border="0" alt=""></td>
   <td><img src="menu/spacer.gif" width="1" height="30" border="0" alt=""></td>
  </tr>
</table>
<div id="MMMenuContainer0525023229_0">
    <div id="MMMenu0525023229_0" onMouseOut="MM_menuStartTimeout(1000);" onMouseOver="MM_menuResetTimeout();">
        <a href="#" target="conteudo" id="MMMenu0525023229_0_Item_0" class="MMMIFVStyleMMMenu0525023229_0" onMouseOver="MM_menuOverMenuItem('MMMenu0525023229_0');">
            Defini&ccedil;&atilde;o&nbsp;do&nbsp;Projeto
        </a>
        <a href="#" target="conteudo" id="MMMenu0525023229_0_Item_1" class="MMMIVStyleMMMenu0525023229_0" onMouseOver="MM_menuOverMenuItem('MMMenu0525023229_0');">
            Dom&iacute;nio&nbsp;do&nbsp;Neg&oacute;cio
        </a>
        <a href="atividades.htm" target="conteudo" id="MMMenu0525023229_0_Item_2" class="MMMIVStyleMMMenu0525023229_0" onMouseOver="MM_menuOverMenuItem('MMMenu0525023229_0');">
            Diagrama&nbsp;de&nbsp;Atividades
        </a>
        <a href="solucao" target="conteudo" id="MMMenu0525023229_0_Item_3" class="MMMIVStyleMMMenu0525023229_0" onMouseOver="MM_menuOverMenuItem('MMMenu0525023229_0');">
            Solu&ccedil;&atilde;o&nbsp;de&nbsp;Automa&ccedil;&atilde;o
        </a>
    </div>
</div>
<div id="MMMenuContainer0525023621_1">
    <div id="MMMenu0525023621_1" onMouseOut="MM_menuStartTimeout(1000);" onMouseOver="MM_menuResetTimeout();">
        <a href="objetivo_sistema.htm" target="conteudo" id="MMMenu0525023621_1_Item_0" class="MMMIFVStyleMMMenu0525023621_1" onMouseOver="MM_menuOverMenuItem('MMMenu0525023621_1');">
            Objetivo&nbsp;do&nbsp;Sistema
        </a>
        <a href="#" target="conteudo" id="MMMenu0525023621_1_Item_1" class="MMMIVStyleMMMenu0525023621_1" onMouseOver="MM_menuOverMenuItem('MMMenu0525023621_1');">
            Atores
        </a>
        <a href="diagramas_casouso.htm" target="conteudo" id="MMMenu0525023621_1_Item_2" class="MMMIVStyleMMMenu0525023621_1" onMouseOver="MM_menuOverMenuItem('MMMenu0525023621_1');">
            Casos&nbsp;de&nbsp;Uso
        </a>
        <a href="prot_menu.htm" target="conteudo" id="MMMenu0525023621_1_Item_3" class="MMMIVStyleMMMenu0525023621_1" onMouseOver="MM_menuOverMenuItem('MMMenu0525023621_1');">
            Prot.&nbsp;de&nbsp;Interface&nbsp;Humana
        </a>
    </div>
</div>
<div id="MMMenuContainer0525023713_2">
    <div id="MMMenu0525023713_2" onMouseOut="MM_menuStartTimeout(1000);" onMouseOver="MM_menuResetTimeout();">
        <a href="diagrama_classe.htm" target="conteudo" id="MMMenu0525023713_2_Item_0" class="MMMIFVStyleMMMenu0525023713_2" onMouseOver="MM_menuOverMenuItem('MMMenu0525023713_2');">
            Diagrama&nbsp;de&nbsp;Classes
        </a>
        <a href="diagrama_sequencia.htm" target="conteudo" id="MMMenu0525023713_2_Item_1" class="MMMIVStyleMMMenu0525023713_2" onMouseOver="MM_menuOverMenuItem('MMMenu0525023713_2');">
            Diagrama&nbsp;de&nbsp;Sequ&ecirc;ncia
        </a>
    </div>
</div>
<div id="MMMenuContainer0525023740_3">
    <div id="MMMenu0525023740_3" onMouseOut="MM_menuStartTimeout(1000);" onMouseOver="MM_menuResetTimeout();">
        <a href="dig_classe_geral.htm" target="conteudo" id="MMMenu0525023740_3_Item_0" class="MMMIFVStyleMMMenu0525023740_3" onMouseOver="MM_menuOverMenuItem('MMMenu0525023740_3');">
            Diagrama&nbsp;de&nbsp;Classes&nbsp;Final
        </a>
        <a href="diagrama_componente.htm" target="conteudo" id="MMMenu0525023740_3_Item_1" class="MMMIVStyleMMMenu0525023740_3" onMouseOver="MM_menuOverMenuItem('MMMenu0525023740_3');">
            Diagrama&nbsp;de&nbsp;Componentes
        </a>
        <a href="mer.hem" target="conteudo" id="MMMenu0525023740_3_Item_2" class="MMMIVStyleMMMenu0525023740_3" onMouseOver="MM_menuOverMenuItem('MMMenu0525023740_3');">
            MER
        </a>
        <a href="diagrama_integracao" target="conteudo" id="MMMenu0525023740_3_Item_3" class="MMMIVStyleMMMenu0525023740_3" onMouseOver="MM_menuOverMenuItem('MMMenu0525023740_3');">
            Diagrama&nbsp;de&nbsp;Implanta&ccedil;&atilde;o
        </a>
    </div>
</div>
<div id="MMMenuContainer0525023822_4">
    <div id="MMMenu0525023822_4" onMouseOut="MM_menuStartTimeout(1000);" onMouseOver="MM_menuResetTimeout();">
        <a href="#" target="conteudo" id="MMMenu0525023822_4_Item_0" class="MMMIFVStyleMMMenu0525023822_4" onMouseOver="MM_menuOverMenuItem('MMMenu0525023822_4');">
            Script's&nbsp;do&nbsp;Banco&nbsp;de&nbsp;Dados
        </a>
        <a href="#" target="conteudo" id="MMMenu0525023822_4_Item_1" class="MMMIVStyleMMMenu0525023822_4" onMouseOver="MM_menuOverMenuItem('MMMenu0525023822_4');">
            C&oacute;digo&nbsp;Fonte
        </a>
        <a href="#" target="conteudo" id="MMMenu0525023822_4_Item_2" class="MMMIVStyleMMMenu0525023822_4" onMouseOver="MM_menuOverMenuItem('MMMenu0525023822_4');">
            Manuais
        </a>
    </div>
</div>
</div>
</body>
</html>
do css gerado pelo fireworks
td img {
/* Another Mozilla/Netscape bug with making sure our images display correctly */
    display: block;
}

#FWTableContainer923545446 {
/* 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:1024px;
    height:30px;
    text-align:left;
}

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

#MMMenu0525023229_0 {
/* This class defines things about menu MMMenu0525023229_0's div. */
    position:absolute;
    left:0px;
    top:0px;
    visibility:hidden;
    background-color:#555555;
    width:146px;
    height:80px;
}

.MMMIFVStyleMMMenu0525023229_0 {
/* This class determines the general characteristics of the menu items in menu MMMenu0525023229_0 */
    width:146px;
    height:20px;
    voice-family: "\"}\"";
    voice-family:inherit;
    width:140px;
    height:14px;
}

.MMMIVStyleMMMenu0525023229_0 {
/* This class determines the general characteristics of the menu items in menu MMMenu0525023229_0 */
    width:146px;
    height:20px;
    voice-family: "\"}\"";
    voice-family:inherit;
    width:140px;
    height:14px;
}

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

#MMMenu0525023229_0_Item_1 {
/* Unique ID for item 1 of menu MMMenu0525023229_0 so we can set its position */
    left:0px;
    top:20px;
}

#MMMenu0525023229_0_Item_2 {
/* Unique ID for item 2 of menu MMMenu0525023229_0 so we can set its position */
    left:0px;
    top:40px;
}

#MMMenu0525023229_0_Item_3 {
/* Unique ID for item 3 of menu MMMenu0525023229_0 so we can set its position */
    left:0px;
    top:60px;
}

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

#MMMenuContainer0525023229_0 a {
/* Controls the general apperance for menu MMMenuContainer0525023229_0's items, including color and font */
    text-decoration:none;
    font-family:Verdana, Arial, Helvetica, sans-serif;
    font-size:10px;
    color:#000066;
    text-align:center;
    vertical-align:middle;
    padding:3px;
    background: #cccccc url('menu/mmmenu5_146x20_up.gif');
    font-weight:bold;
    font-style:normal;
    display:block;
    position:absolute
}

#MMMenuContainer0525023229_0 a:hover {
/* Controls the mouse over effects for menu MMMenuContainer0525023229_0 */
    color:#000099;
    background: #009900 url('menu/mmmenu5_146x20_over.gif');
}
#MMMenuContainer0525023621_1 {
/* This ID is related to the master menu div for menu MMMenuContainer0525023621_1 and contains the important positioning information for the menu as a whole */
    position:absolute;
    left:151px;
    top:30px;
    visibility:hidden;
    z-index:300;
}

#MMMenu0525023621_1 {
/* This class defines things about menu MMMenu0525023621_1's div. */
    position:absolute;
    left:0px;
    top:0px;
    visibility:hidden;
    background-color:#555555;
    width:163px;
    height:80px;
}

.MMMIFVStyleMMMenu0525023621_1 {
/* This class determines the general characteristics of the menu items in menu MMMenu0525023621_1 */
    width:163px;
    height:20px;
    voice-family: "\"}\"";
    voice-family:inherit;
    width:157px;
    height:14px;
}

.MMMIVStyleMMMenu0525023621_1 {
/* This class determines the general characteristics of the menu items in menu MMMenu0525023621_1 */
    width:163px;
    height:20px;
    voice-family: "\"}\"";
    voice-family:inherit;
    width:157px;
    height:14px;
}

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

#MMMenu0525023621_1_Item_1 {
/* Unique ID for item 1 of menu MMMenu0525023621_1 so we can set its position */
    left:0px;
    top:20px;
}

#MMMenu0525023621_1_Item_2 {
/* Unique ID for item 2 of menu MMMenu0525023621_1 so we can set its position */
    left:0px;
    top:40px;
}

#MMMenu0525023621_1_Item_3 {
/* Unique ID for item 3 of menu MMMenu0525023621_1 so we can set its position */
    left:0px;
    top:60px;
}

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

#MMMenuContainer0525023621_1 a {
/* Controls the general apperance for menu MMMenuContainer0525023621_1's items, including color and font */
    text-decoration:none;
    font-family:Verdana, Arial, Helvetica, sans-serif;
    font-size:10px;
    color:#000066;
    text-align:center;
    vertical-align:middle;
    padding:3px;
    background: #cccccc url('menu/mmmenu4_163x20_up.gif');
    font-weight:bold;
    font-style:normal;
    display:block;
    position:absolute
}

#MMMenuContainer0525023621_1 a:hover {
/* Controls the mouse over effects for menu MMMenuContainer0525023621_1 */
    color:#000099;
    background: #009900 url('menu/mmmenu4_163x20_over.gif');
}
#MMMenuContainer0525023713_2 {
/* This ID is related to the master menu div for menu MMMenuContainer0525023713_2 and contains the important positioning information for the menu as a whole */
    position:absolute;
    left:310px;
    top:30px;
    visibility:hidden;
    z-index:300;
}

#MMMenu0525023713_2 {
/* This class defines things about menu MMMenu0525023713_2's div. */
    position:absolute;
    left:0px;
    top:0px;
    visibility:hidden;
    background-color:#555555;
    width:143px;
    height:40px;
}

.MMMIFVStyleMMMenu0525023713_2 {
/* This class determines the general characteristics of the menu items in menu MMMenu0525023713_2 */
    width:143px;
    height:20px;
    voice-family: "\"}\"";
    voice-family:inherit;
    width:137px;
    height:14px;
}

.MMMIVStyleMMMenu0525023713_2 {
/* This class determines the general characteristics of the menu items in menu MMMenu0525023713_2 */
    width:143px;
    height:20px;
    voice-family: "\"}\"";
    voice-family:inherit;
    width:137px;
    height:14px;
}

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

#MMMenu0525023713_2_Item_1 {
/* Unique ID for item 1 of menu MMMenu0525023713_2 so we can set its position */
    left:0px;
    top:20px;
}

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

#MMMenuContainer0525023713_2 a {
/* Controls the general apperance for menu MMMenuContainer0525023713_2's items, including color and font */
    text-decoration:none;
    font-family:Verdana, Arial, Helvetica, sans-serif;
    font-size:10px;
    color:#000066;
    text-align:center;
    vertical-align:middle;
    padding:3px;
    background: #cccccc url('menu/mmmenu3_143x20_up.gif');
    font-weight:bold;
    font-style:normal;
    display:block;
    position:absolute
}

#MMMenuContainer0525023713_2 a:hover {
/* Controls the mouse over effects for menu MMMenuContainer0525023713_2 */
    color:#000099;
    background: #009900 url('menu/mmmenu3_143x20_over.gif');
}
#MMMenuContainer0525023740_3 {
/* This ID is related to the master menu div for menu MMMenuContainer0525023740_3 and contains the important positioning information for the menu as a whole */
    position:absolute;
    left:501px;
    top:30px;
    visibility:hidden;
    z-index:300;
}

#MMMenu0525023740_3 {
/* This class defines things about menu MMMenu0525023740_3's div. */
    position:absolute;
    left:0px;
    top:0px;
    visibility:hidden;
    background-color:#555555;
    width:163px;
    height:80px;
}

.MMMIFVStyleMMMenu0525023740_3 {
/* This class determines the general characteristics of the menu items in menu MMMenu0525023740_3 */
    width:163px;
    height:20px;
    voice-family: "\"}\"";
    voice-family:inherit;
    width:157px;
    height:14px;
}

.MMMIVStyleMMMenu0525023740_3 {
/* This class determines the general characteristics of the menu items in menu MMMenu0525023740_3 */
    width:163px;
    height:20px;
    voice-family: "\"}\"";
    voice-family:inherit;
    width:157px;
    height:14px;
}

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

#MMMenu0525023740_3_Item_1 {
/* Unique ID for item 1 of menu MMMenu0525023740_3 so we can set its position */
    left:0px;
    top:20px;
}

#MMMenu0525023740_3_Item_2 {
/* Unique ID for item 2 of menu MMMenu0525023740_3 so we can set its position */
    left:0px;
    top:40px;
}

#MMMenu0525023740_3_Item_3 {
/* Unique ID for item 3 of menu MMMenu0525023740_3 so we can set its position */
    left:0px;
    top:60px;
}

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

#MMMenuContainer0525023740_3 a {
/* Controls the general apperance for menu MMMenuContainer0525023740_3's items, including color and font */
    text-decoration:none;
    font-family:Verdana, Arial, Helvetica, sans-serif;
    font-size:10px;
    color:#000066;
    text-align:center;
    vertical-align:middle;
    padding:3px;
    background: #cccccc url('menu/mmmenu2_163x20_up.gif');
    font-weight:bold;
    font-style:normal;
    display:block;
    position:absolute
}

#MMMenuContainer0525023740_3 a:hover {
/* Controls the mouse over effects for menu MMMenuContainer0525023740_3 */
    color:#000099;
    background: #009900 url('menu/mmmenu2_163x20_over.gif');
}
#MMMenuContainer0525023822_4 {
/* This ID is related to the master menu div for menu MMMenuContainer0525023822_4 and contains the important positioning information for the menu as a whole */
    position:absolute;
    left:664px;
    top:30px;
    visibility:hidden;
    z-index:300;
}

#MMMenu0525023822_4 {
/* This class defines things about menu MMMenu0525023822_4's div. */
    position:absolute;
    left:0px;
    top:0px;
    visibility:hidden;
    background-color:#555555;
    width:162px;
    height:60px;
}

.MMMIFVStyleMMMenu0525023822_4 {
/* This class determines the general characteristics of the menu items in menu MMMenu0525023822_4 */
    width:162px;
    height:20px;
    voice-family: "\"}\"";
    voice-family:inherit;
    width:156px;
    height:14px;
}

.MMMIVStyleMMMenu0525023822_4 {
/* This class determines the general characteristics of the menu items in menu MMMenu0525023822_4 */
    width:162px;
    height:20px;
    voice-family: "\"}\"";
    voice-family:inherit;
    width:156px;
    height:14px;
}

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

#MMMenu0525023822_4_Item_1 {
/* Unique ID for item 1 of menu MMMenu0525023822_4 so we can set its position */
    left:0px;
    top:20px;
}

#MMMenu0525023822_4_Item_2 {
/* Unique ID for item 2 of menu MMMenu0525023822_4 so we can set its position */
    left:0px;
    top:40px;
}

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

#MMMenuContainer0525023822_4 a {
/* Controls the general apperance for menu MMMenuContainer0525023822_4's items, including color and font */
    text-decoration:none;
    font-family:Verdana, Arial, Helvetica, sans-serif;
    font-size:10px;
    color:#000066;
    text-align:center;
    vertical-align:middle;
    padding:3px;
    background: #cccccc url('menu/mmmenu1_162x20_up.gif');
    font-weight:bold;
    font-style:normal;
    display:block;
    position:absolute
}

#MMMenuContainer0525023822_4 a:hover {
/* Controls the mouse over effects for menu MMMenuContainer0525023822_4 */
    color:#000099;
    background: #009900 url('menu/mmmenu1_162x20_over.gif');
}
do js gerado pelo fireworks
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 in mmOpenMenus) {
            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 in mmOpenMenus) {
            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;
}

Obrigado....

Link para o comentário
Compartilhar em outros sites

1 resposta a esta questão

Posts Recomendados

  • 0

O problema e assim...

Voce criou o menu dentro de um frame o menu aparece mas voce não ve por que ele esta dentro do fram escondido. Para o menu aparecer pra fora do frame vocE tem que trabalhar com css oque na minha opniao e mais facil.

Voce vai ter que mexer nas camadas e de preferencia não ira usar frames. De uma passada na sessao de css ou na de html e veja com eles como podem te ajudar

=]

Abrcs AcquaBlue

Link para o comentário
Compartilhar em outros sites

Participe da discussão

Você pode postar agora e se registrar depois. Se você já tem uma conta, acesse agora para postar com sua conta.

Visitante
Responder esta pergunta...

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emoticons são permitidos.

×   Seu link foi incorporado automaticamente.   Exibir como um link em vez disso

×   Seu conteúdo anterior foi restaurado.   Limpar Editor

×   Você não pode colar imagens diretamente. Carregar ou inserir imagens do URL.



  • Estatísticas dos Fóruns

    • Tópicos
      152,3k
    • Posts
      652,5k
×
×
  • Criar Novo...