Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jun 2005
    Posts
    91
    Thanks
    19
    Thanked 0 Times in 0 Posts

    div menu cannot load on ff

    I am using this div menu, but I could not load this menu on ff.

    How can I fix this problem?

    PHP Code:
    <head>

    <STYLE>
    .mycss a:hover { text-decoration:underline; color:#438A01; }

    .bg_menu1 {
        height:22px;
        border-left-width:1px;
        border-left-style:solid;
        border-left-color:#9DADE5;
        border-right-width:1px;
        border-right-style:solid;
        border-right-color:#9DADE5;
        padding-left:15px;
        padding-right:15px;
        background-color:#F6FAFF;
        border-top-color: #9DADE5;
        border-top-style: solid;
        border-top-width: 1px;
        border-bottom-color: #9DADE5;
        border-bottom-style: solid;
        border-bottom-width: 1px;
        color: #000000;
        line-height: 20px;
    }
    .bg_line1 { height:1px; background-color:#9DADE5; }

    .bg_title { background-image:url('../img/lm_category.gif');
                width:179px;
                height:48px;
                padding-left:25px;
                padding-top:4px; }
    .bg_menu2 { height:22px;
                padding-left:25px; }
    .bg_line2 { background-image:url('../img/dot.gif'); height:3px; }
    .style1 {color: #000000}
    </STYLE>

    <script language="JavaScript">

    <!--
    function hp_show_layer(lname, flag)
    {
      var layer = (navigator.appName == 'Netscape') ? document.layers[lname] : document.all[lname];
      if (lname == '')
        return;
      if (navigator.appName == 'Netscape')
        layer.visibility = (flag == 0) ? 'show' : 'hide';
      else
        layer.style.visibility = (flag == 0) ? 'visible' : 'hidden';
    }
    // -->
    </script>

    </head>
    <body>
    <td width="620" height="22" border="0" text="224F0B" link="blue" vlink="purple" alink="red" onload="hp_init_layer_events();" bgcolor="#EEFDCF">
        <div align="left">
        <table style="border-right-width:0px; border-left-width:0px; border-right-color:rgb(40,36,40); border-left-color:rgb(40,36,40); border-right-style:solid; border-left-style:solid;" border="0" cellpadding="0" cellspacing="0" width="649" bgcolor="#EEFDCF">
            <tr valign="bottom">
             <td width="68" height="16" align="center">
              <p valign="center">
                <a href="<?=$g4[url]?>"><font color="#0E4E07"> home</a></p></td>
            <td width="61" height="16">
              <p align="left"> <font color="#0E4E07"> <a OnMouseOut="hp_show_layer('layer5', 1);" OnMouseOver="hp_show_layer('layer5', 0);">board</a></p></td>
            <td width="68" height="16">
              <p align="left"> <font color="#0E4E07"> <a OnMouseOut="hp_show_layer('layer6', 1);" OnMouseOver="hp_show_layer('layer6', 0);">life</a></p></td>
            </tr>
        </table>
        </div>

    <div id="layer1" style="width:140px; height:60px; position:absolute; left:350px; top:153px; z-index:7; visibility:hidden; background-color:F6FAFF" OnMouseOut="hp_show_layer('layer1', 1);" OnMouseOver="hp_show_layer('layer1', 0);" class="Alpha">
        <table border="0" cellpadding="1" cellspacing="0" width="140">
            <tr>
                <td width="138" height="90" valign="top" class="bg_menu1">
                <span class="mycss"><a href="announce.php" target="_self">words</a><br>
                <a href="urchhis.php" target="_self">history</a><br>
                <a href="athers.php" target="_self">manys</a><br>
                </span>
              </td>
            </tr>
        </table>

    </div>
    <div id="layer2" style="width:123px; height:40px; position:absolute; left:430px; top:153px; z-index:7; visibility:hidden; background-color:F6FAFF" OnMouseOut="hp_show_layer('layer2', 1);" OnMouseOver="hp_show_layer('layer2', 0);" class="Alpha">
        <table border="0" cellpadding="1" cellspacing="0" width="123">
            <tr>
                <td  width="121" height="60" valign="top" class="bg_menu1">
                <span class="mycss">
                <a href="week.php" target="_self">cate</a><br>
                </span>
                </td>
            </tr>
        </table>
    </div>
    </td>
    </body>

  • #2
    Senior Coder jcdevelopment's Avatar
    Join Date
    Oct 2007
    Location
    Cowboy Nation
    Posts
    2,182
    Thanks
    174
    Thanked 257 Times in 257 Posts
    Code:
    onload="hp_init_layer_events();"
    this may not have anything to do with it and maybe i missed this, but where is this function at?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •