<center><a href="" onmouseover="vis('')" onmouseout="vis('none')">asdg</a>
<a href="" onmouseover="vis('')" onmouseout="vis('none')">zxcv</a>
<div id=th style=position:absolute;display:none;>
<table border=1><td height=20px style="width:20px;word-break:break-all;overflow:auto;">dfbhdfg</td></table>
</div>
<script>
function vis(d){
  th.style.display=d
  th.style.pixelLeft= event.clientX
  th.style.pixelTop = event.clientY+10
}
</script>

解决方案 »

  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">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
    <title>无标题文档</title>
    <script type="text/javascript">
    function a(obj)
    {
    obj.innerHTML=document.getElementById("table").innerHTML
    }
    </script>
    </head><body>
    <a style="cursor:pointer" onclick="a(this)">点这里</a> <a style="cursor:pointer" onclick="a(this)">点这里</a>
    <div id="table" style="display:none">
    <table width="50" border="1" cellspacing="0" cellpadding="0" >
      <tr>
        <td>&nbsp;</td>
      </tr>
    </table>
    </div></body>
    </html>