the simple way is to use an IFRAME

解决方案 »

  1.   

    try something like the following:<table border="1">
     <tr> <td url="http://www.csdn.net">csdn</td></tr>
     <tr> <td  url="http://msdn.microsoft.com">msdn</td></tr>
     <tr> <td  url="http://news.sina.com.cn">sina</td></tr>
    </table>
    <iframe id="ifr" src="" style="position:absolute;display:none;wdith:200;height:200"></iframe><script language="javascript">
    function document.onmouseover()
    {
      var e = event.srcElement;
      if (e.tagName == "TD")
      {
    var sURL = e.getAttribute("url");
    if (sURL != null)
    {
    document.all("ifr").src = sURL;
    document.all("ifr").style.left = document.body.scrollLeft + event.clientX;
    document.all("ifr").style.top = document.body.scrollTop + event.clientY;
    document.all("ifr").style.display = "";
    }
      }
    }function document.onmouseout()
    {
      document.all("ifr").style.display="none";
    }
    </script>
      

  2.   

    用ASP.Net能不能实现,要出现在鼠标点击的下方。
      

  3.   

    ASP.NET still outputs html to the client side, so the principle is sample, changefunction document.onmouseover()
    ===>
    function document.onclick()
      

  4.   

    我是说程序能否用asp.net写,不要javascript
      

  5.   

    那么如何实现这样的效果(http://www.microsoft.com/china/msdn/images/datagrid3.gif)
    让浮动窗口出现在鼠标点击的下方?
      

  6.   


    div {
     filter:progid:DXImageTransform.Microsoft.Shadow(color='gray', Direction=135, Strength=5); 
    background-color:#FFFFC0;}