<script language="JavaScript">
function showMenu(thisTag){
   if(thisTag == tags.td) {
      document.divs['menu'].visibility = visible;
   }
}
</script><style type="text/css">
.inv                    { visibility: hidden}
</style><body><center>
<table class=tab1 id=tags>
<tr>
<td id=r1 onmouseover="showMenu(this)"><a href="#">*****row1*****</a></td>
</tr>
</table>
</center>
</body><div id=menu class=inv>
<center>
<table border=1 bordercolor=991111>
<tr>
<td>Item1</td>
</tr>
<tr>
<td>Item2</td>
</tr>
</table>
</center>
</div>

解决方案 »

  1.   

    改了一下.<script language="JavaScript">
    function showMenu(thisTag){
       if(thisTag.tagName == "TD") {
          document.all['menu'].style.visibility = "visible";
       }
    }
    </script><style type="text/css">
    .inv                    { visibility: hidden}
    </style><body><center>
    <table class=tab1>
    <tr>
    <td id=r1 onmouseover="showMenu(this)"><a href="#">*****row1*****</a></td>
    </tr>
    </table>
    </center>
    </body><div id=menu class=inv>
    <center>
    <table border=1 bordercolor=991111>
    <tr>
    <td>Item1</td>
    </tr>
    <tr>
    <td>Item2</td>
    </tr>
    </table>
    </center>
    </div>
    附:HTML
    http://vip.5d.cn/friday/upload/dhtml html&css.chm Microsoft Windows脚本技术
    http://www.blueidea.com/user/win1st/other/jsdoc.exe
    http://vip.5d.cn/friday/upload/SCRIPT56.chm
      

  2.   

    好人,帮你谢 wanghr100(灰豆宝宝.net(多爱我一天))
      

  3.   

    哎呀太感谢了,对不起我把这帖子忘了,sorrysorry