<tr> 
            <td><img src="/emsflow/theme/style0/bmly.gif" width="196" height="31" onclick="bmly()" onmousemove=""></td>
          </tr>目前这个效果是鼠标移动上去以后没有链接的那个效果,想让鼠标移动到图片上以后有链接的那个小手的效果,不能用<a></a>这个方法因为后台有链接效果,用这个非常难看,所以就想onmousemove给一个js效果,让产生链接,如何实现?

解决方案 »

  1.   

    加上这个:
    style="cursor: hand"
      

  2.   

    <img style="cursor:hand;"/>
      

  3.   

    <tr>  
      <td><img src="/emsflow/theme/style0/bmly.gif" width="196" height="31" onclick="bmly()" style="cursor: hand"></td>
      </tr>
      

  4.   

    <img style="cursor:hand;"/>
      

  5.   


    <HTML>  
     <HEAD>  
      <TITLE> New Document </TITLE>  
      <script type="text/javascript" language="javascript">
      function bmly()
      {
      
        alert("1111");
      }  
      </script>
      </HEAD>  
      
     <BODY>  
      <a href="http://www.baidu.com" >aaaaaaaaaaa</a>  <table>
      <tr>
      <td>
      <img src="/images/php.gif" width="196" height="31" onclick="bmly()"  style="cursor:pointer" >
      </td>
      </tr>
      </table>
     </BODY>  
      
      
    </HTML>
    直接给图片加个style就可以了   用style="cursor:pointer" 比较通用