IE7是好的,IE6里,当鼠标移动到下拉的二级菜单,另一个二级菜单和他重重叠,便显示另一个二级菜单了。有什么解决办法吗?http://yongwei.w43.idccenter.net/content.aspx

解决方案 »

  1.   

    应该没控制好的关系,<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <!-- DW6 -->
    <head>
    <!-- Copyright 2005 Macromedia, Inc. All rights reserved. -->
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
    <title>Untitled Document</title>
    <link rel="stylesheet" href="emx_nav_left.css" type="text/css" />
    <script type="text/javascript">
    <!--
    var time = 3000;
    var numofitems = 7;//menu constructor
    function menu(allitems,thisitem,startstate){ 
      callname= "gl"+thisitem;
      divname="subglobal"+thisitem;  
      this.numberofmenuitems = allitems;
      this.caller = document.getElementById(callname);
      this.thediv = document.getElementById(divname);
      this.thediv.style.visibility = startstate;
    }//menu methods
    function ehandler(event,theobj){
      for (var i=1; i<= theobj.numberofmenuitems; i++){
        var shutdiv =eval( "menuitem"+i+".thediv");
        shutdiv.style.visibility="hidden";
      }
      theobj.thediv.style.visibility="visible";
    }

    function closesubnav(event){
      if ((event.clientY <48)||(event.clientY > 107)){
        for (var i=1; i<= numofitems; i++){
          var shutdiv =eval('menuitem'+i+'.thediv');
          shutdiv.style.visibility='hidden';
        }
      }
    }
    // -->
    </script>
    <style type="text/css">
    <!--
    .STYLE1 {color: #FFFFFF}
    -->
    </style>
    </head>
    <body onmousemove="closesubnav(event);">
    <div class="skipLinks">skip to: <a href="#content">page content</a> | <a href="#pageNav">links on this page</a> | <a href="#globalNav">site navigation</a> | <a href="#siteInfo">footer (site information)</a> </div>
    <div id="masthead">
      <h1 id="siteName">进销存管理系统</h1>
      <div id="globalNav"> <img alt="" src="gblnav_left.gif" height="32" width="4" id="gnl" /> <img alt="" src="glbnav_right.gif" height="32" width="4" id="gnr" />
        <div id="globalLink"> <a href="#" id="gl1" class="glink" onmouseover="ehandler(event,menuitem1);">资料管理</a><a href="#" id="gl2" class="glink" onmouseover="ehandler(event,menuitem2);">采购管理</a><a href="#" id="gl3" class="glink" onmouseover="ehandler(event,menuitem3);">销售管理</a><a href="#" id="gl4" class="glink" onmouseover="ehandler(event,menuitem4);">库存管理</a><a href="#" id="gl5" class="glink" onmouseover="ehandler(event,menuitem5);">应付款管理</a><a href="#" id="gl6" class="glink" onmouseover="ehandler(event,menuitem6);">应收款管理</a><a href="#" id="gl7" class="glink" onmouseover="ehandler(event,menuitem7);">帐务管理</a> <a href="#" id="gl8" class="glink" onmouseover="ehandler(event,menuitem8);">统计分析</a><a href="#" id="gl9" class="glink" onmouseover="ehandler(event,menuitem9);">零售管理</a><a href="#" id="gl10" class="glink" onmouseover="ehandler(event,menuitem10);">系统管理</a></div>
        <!--end globalLinks-->
      </div>
      <!-- end globalNav -->
      <div id="subglobal1" class="subglobalNav"> <a href="#">商品编码设置</a> | <a href="#">商品资料维护</a> | <a href="#">供货商资料维护</a> | <a href="#">客户资料维护</a> | <a href="#">业务员资料维护</a> | <a href="#">仓库信息维护</a> | <a href="#">采购合同管理</a> | <a href="#">销售合同管理</a> </div>
      <div id="subglobal2" class="subglobalNav"> <a href="#">采购单</a> | <a href="#">进货单</a> | <a href="#">退货管理</a> | <a href="#">进货价格调整</a> | <a href="#">进货单位调整</a> | <a href="#">历史记录</a> </div>
      <div id="subglobal3" class="subglobalNav"> <a href="#">销售订单</a> | <a href="#">销售单</a> | <a href="#">销售退货单</a> | <a href="#">调整历史售价</a> | <a href="#">历史查询</a> </div>
      <div id="subglobal4" class="subglobalNav"> <a href="#">库存查询</a> | <a href="#">库存转库</a> | <a href="#">库存盘点</a> | <a href="#">报损报溢</a> | <a href="#">上下限设定</a> | <a href="#">库存上下限报警</a> | <a href="#">历史查询</a> </div>
      <div id="subglobal5" class="subglobalNav"> <a href="#">预付款管理</a> | <a href="#">应付款明细</a> | <a href="#">应付款汇总</a> | <a href="#">付款单</a> | <a href="#">已付款明细</a> | <a href="#">历史查询</a> | <a href="#">应付款帐簿</a> | <a href="#">应付款帐龄</a> </div>
      <div id="subglobal6" class="subglobalNav"> <a href="#">预收款管理</a> | <a href="#">应收款明细</a> | <a href="#">应收款汇总</a> | <a href="#">收款单</a> | <a href="#">已收款明细</a> | <a href="#">历史查询</a> | <a href="#">应收款帐簿</a> | <a href="#">应收款帐龄</a> </div>
      <div id="subglobal7" class="subglobalNav"> <a href="#">结帐日期设定</a> | <a href="#">模拟结帐</a> | <a href="#">正式结帐</a> | <a href="#">进销存汇总</a> | <a href="#">历史查询</a> </div>
      <div id="subglobal8" class="subglobalNav"> <a href="#">采购供货商统计</a> | <a href="#">采购商品统计</a> | <a href="#">采购业务员统计</a> | <a href="#">销售客户统计</a> | <a href="#">库存积压分析</a> | <a href="#">库存周转分析</a> | <a href="#">......</a> </div>
      <div id="subglobal9" class="subglobalNav"> <a href="#">零售收款</a> | <a href="#">班次结帐</a> | <a href="#">销售日报统计</a> | <a href="#">连锁要货申请</a> | <a href="#">会员管理</a> | <a href="#">数据传输</a> </div>
      <div id="subglobal10" class="subglobalNav"> <a href="#">参数设置</a> | <a href="#">权限设置</a> | <a href="#">数据备份</a> | <a href="#">数据恢复</a> | <a href="#">日志管理</a> | <a href="#">更改密码</a> </div>
    </div>
    <!-- end masthead -->
    <div id="pagecell1">
      <!--pagecell1-->
      <img alt="" src="tl_curve_white.gif" height="6" width="6" id="tl" /> <img alt="" src="tr_curve_white.gif" height="6" width="6" id="tr" />
      <div id="breadCrumb"> <a href="#">Breadcrumb</a> / <a href="#">Breadcrumb</a> / <a href="#">Breadcrumb</a> / </div>
      <div id="pageName">
        <h2>Page Name</h2>
        <img alt="small logo" src="" height="59" width="66"/> </div>
      <div id="pageNav">
        <div id="sectionLinks"> <a href="#">Section Link</a> <a href="#">Section Link</a> <a href="#">Section Link</a> <a href="#">Section Link</a> <a href="#">Section Link</a> <a href="#">Section Link</a> </div>
        <div class="relatedLinks">
          <h3>&nbsp;</h3>
        </div>
        <div class="relatedLinks">
          <h3>&nbsp;</h3>
        </div>
      </div>
      <div id="content">
        <div class="feature">
          <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="533" height="368" title="">
            <param name="movie" value="text1.swf" />
            <param name="quality" value="high" />
            <param name="bgcolor" value="#FFFFFF" />
            <embed src="text1.swf" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="533" height="368" bgcolor="#FFFFFF"></embed>
          </object>
          <h3>Feature Title </h3>
          <p> Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec molestie. Sed aliquam sem ut arcu. Phasellus sollicitudin. Vestibulum condimentum facilisis nulla. In hac habitasse platea dictumst. Nulla nonummy. Cras quis libero. Cras venenatis. Aliquam posuere lobortis pede. Nullam fringilla urna id leo. Praesent aliquet pretium erat. Praesent non odio. Pellentesque a magna a mauris vulputate lacinia. Aenean viverra. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. Aliquam lacus. Mauris magna eros, semper a, tempor et, rutrum et, tortor. </p>
        </div>
      </div>
      <div id="siteInfo"> <img src="" width="44" height="22" /> <a href="#">About Us</a> | <a href="#">Site Map</a> | <a href="#" class="STYLE1">Privacy Policy</a> | <a href="#">Contact Us</a> | &copy;2009 Company Name </div>
    </div>
    <!--end pagecell1-->
    <br />
    <script type="text/javascript">
        <!--
          var menuitem1 = new menu(10,1,"hidden");
    var menuitem2 = new menu(10,2,"hidden");
    var menuitem3 = new menu(10,3,"hidden");
    var menuitem4 = new menu(10,4,"hidden");
    var menuitem5 = new menu(10,5,"hidden");
    var menuitem6 = new menu(10,6,"hidden");
    var menuitem7 = new menu(10,7,"hidden");
    var menuitem8 = new menu(10,8,"hidden");
    var menuitem9 = new menu(10,9,"hidden");
    var menuitem10 = new menu(10,10,"hidden");
        // -->
        </script>
    </body>
    </html>
      

  2.   

    到微软网站下载个IETester,可以模拟多个版本的IE电脑上只有IE8,等下载了IETester再说了
      

  3.   


    我刚看了你的网站... 估计是在写的时候没有把页面或者是下拉框的尺度调对.... 你在修改下尺度! 
       还有你2级菜单显示是用什么做的??<DIV>?