mouseover 时 出现透明的兰色的框!

解决方案 »

  1.   

    <html>
    <head>
    <title>test</title>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    <link rel=stylesheet href="../style/all.css" type="text/css">
    <script language=javascript>
    function mOvr(src,clrOver){ 
    if (!src.contains(event.fromElement)) { 
    src.style.cursor = 'hand'; 
    src.bgColor = clrOver; 
    }
    }
    function mOut(src,clrIn)  { 
    if (!src.contains(event.toElement)) { 
    src.style.cursor = 'default'; 
    src.bgColor = clrIn; 
    }

    function mClk1(src,newsid) { 
    var newWindow; newWindow=window.open("news_info.asp?newsid="+newsid,'','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,top=0,left=0,width=650,height=550' );
     newWindow.focus(); }
    //-->
    </script>
    </head>
    <body>
    <table width="100%" border="0" cellspacing="0" cellpadding="8" height="192">
                  <tr> 
                    <td width="3%" height="24">&nbsp;</td>
                    <td height="24" colspan="2">&nbsp;</td>
      
                    <td height="24" >&nbsp;</td>
                  </tr>
                  
                  <tr bgcolor="#81A0B1" > 
                    <td width="3%" height="50">&nbsp;</td>
                    <td width="2%" height="50">&nbsp;</td>
                    <td width="55%" height="50" align="left"><font color="#000000" size="3"><font face="宋体">新闻标题</font></font></td>
                    <td width="40%" height="50" align="left"><font color="#000000" size="3"><font face="宋体">发布时间</font></font></td>
                  </tr>
                  <tr > 
                    <td valign="bottom" align="left" colspan="4" height="1" bgcolor="#81A0B1"></td>
                  </tr>
                  
    <tr align="left" valign="center" height="20" onclick="mClk1(this,'158');" onmouseout="mOut(this,'');" onmouseover="mOvr(this,'#d7f2ff');"> 
                    <td width="1%" height="16">&nbsp;</td>
                    <td width="4%" height="16" ><img src="images/new_a.gif">
                    </td>
                    
        <td width="55%" height="16" >adsfasdfasdfadsfasdfsadfadsfadsf</td>
                    <td width="40%" height="16" >2003年9月5日</td>
                  </tr>
      </table>
    </body>
    </html>
    在这基础上怎么可以实现这样的效果?
      

  2.   

    看清楚,别人的title是可以排序,和拉动的!
    做个出来我看看!我出100分,一百块
      

  3.   

    看看msdn里的datagrid的排序吧
    很简单的,就是个属性AllowSorting
    拉动我是没有想出来啊
    大家讨论吧
      

  4.   

    就是net_lover(孟子E章)做的吧?
    和和,请net_lover(孟子E章)给我们说说?
      

  5.   

    发现是用htm做的,嗯,那么排序和拖动都是用脚本来实现得了