如何设置JS右键的行数?代码中我做了6个功能,但右键显示的时候它只显示了3个,怎么解决?
<%--
/**
*实现右键菜单功能
*/
--%>
<html>
<body oncontextmenu = showMenu( ' ')>
<form name = "menuForm ">
<!--隐藏框,用来保存选择的菜单的id值-->
<input type = "hidden " name = "id " value = " ">
<table>
<tr> <td> <a href= "javascript:clickMenu() " oncontextmenu = showMenu( '0 ')> 根目录 </a> </td> </tr>
<tr> <td> <a href= "javascript:clickMenu() " oncontextmenu = showMenu( '1 ')> 菜单一 </a> </td> </tr>
<tr> <td> <a href= "javascript:clickMenu() " oncontextmenu = showMenu( '2 ')> 菜单二 </a> </td> </tr>
<tr> <td> <a href= "javascript:clickMenu() " oncontextmenu = showMenu( '3 ')> 菜单三 </a> </td> </tr>
<tr> <td> <a href= "javascript:clickMenu() " oncontextmenu = showMenu( '4 ')> 菜单四 </a> </td> </tr>
<tr> <td> <a href= "javascript:clickMenu() " oncontextmenu = showMenu( '5 ')> 菜单五 </a> </td> </tr>
</table>
</form>
</body>
<!-- 这里用来定义需要显示的右键菜单 -->
<div id= "itemMenu " style= "display:none ">
<table border= "1 " width= "100% " height= "100% " bgcolor= "#cccccc " style= "border:thin " cellspacing= "0 ">
<tr>
&