<table><tr><td id = myid onmouseover=test()></td></tr></table>
<script language = javascript>function test(td)
{
 td.style='cursor:hand'
}

解决方案 »

  1.   

    最好用CSS定义
    .myMouse
    {
       cursor:hand;
    }<td id = myid class="myMouse">
      

  2.   

    <script language="JavaScript">
    <!--
    function test(td)
    {
     td.style.cursor='hand'
    }//-->
    </script>
    <table border=1><tr><td id = myid onmouseover="test(this)">asdfasdf</td></tr></table>
    <script language = javascript>没什么问题啊
      

  3.   

    <style>
    .myMouse
    {
       
       cursor:url('http://whidy.oa.com/meet/images/beam_l.cur')
    }
    </style>
    <table border=1>
    <Tr>
    <td style="CURSOR: hand">
    直接在td上指定手鼠标,没有问题
    </td>
    </Tr>
    <Tr>
    <td style="CURSOR: url('http://whidy.oa.com/meet/images/beam_l.cur')">
    直接在td上指定自定义鼠标,,没有问题
    </td>
    </Tr>
    <Tr>
    <td onmouseover='ChangeMouse(this);'>
    在td上的onmouseover事件处理函数中不通过CSS指定自定义鼠标,仅在鼠标第一次停留时没问题
    </td>
    </Tr>
    <Tr>
    <td onmouseover='ChangeMouseToHand(this);'>
    而同样在td上的onmouseover事件处理函数中不通过CSS指定手形鼠标,完全没问题
    </td>
    </Tr>

    <Tr>
    <td onmouseover='ChangeMouseByCss(this);'>
    在td上的onmouseover事件处理函数中通过CSS指定自定义鼠标,完全没问题
    </td>
    </Tr>
    </table>
    <script >function ChangeMouseToHand(td)
    {
    td.style.cursor="hand";
    }function ChangeMouse(td)
    {
    td.style.cursor="url('http://whidy.oa.com/meet/images/beam_l.cur')";
    }function ChangeMouseByCss(td)
    {
    td.className = "myMouse"
    }</script>
      

  4.   

    <td valign=middle align=center bgcolor='#eeeeee'     ONMOUSEOVER="this.bgColor='#DEDFF7';this.style.cursor='hand';"     ONMOUSEOUT="this.bgColor='#eeeeee';"
    </td>
    我是这样写的,没有问题,"this.bgColor='#DEDFF7;"和"this.bgColor='#eeeeee';"只是换背景色的,没有关系!==============================================
        我不是菜鸟,我是很菜很菜的那种!呵呵……
      

  5.   

    to tearfalls:
    看我的那个例子
      

  6.   

    to whidy:
    呵呵,大哥,不好意思,俺才开始学这个,说实在的,您的代码一开始没太看明白,现在明了了
    呵呵,多谢指教!==============================================
        我不是菜鸟,我是很菜很菜的那种!呵呵……