1、<table style="cursor:hand">
2、省略
3、window.event.srcElement.rowIndex
4、top.frames['frmRight'].tableName.style.backgroundColor='black';
5、如果用showModalDialog打开的窗口就狠简单,直接设置window.returnValue就可以返回了

解决方案 »

  1.   

    先给你几个.其它的暂时没时间.我还有点事件要做完.<table width="100%" border="1">
      <tr>
        <td onMouseOver="this.style.background='#CCFFCC';this.style.cursor='hand'" onMouseOut="this.style.background='';"  onClick="alert(this.innerHTML)">&nbsp;</td>
      </tr>
      <tr>
        <td onMouseOver="this.style.background='#CCFFCC';this.style.cursor='hand'" onMouseOut="this.style.background='';"  onClick="alert(this.innerHTML)">&nbsp;</td>
      </tr>
      <tr>
        <td onMouseOver="this.style.background='#CCFFCC';this.style.cursor='hand'" onMouseOut="this.style.background='';"  onClick="alert(this.innerHTML)">&nbsp;</td>
      </tr>
      <tr>
        <td onMouseOver="this.style.background='#CCFFCC';this.style.cursor='hand'" onMouseOut="this.style.background='';"  onClick="alert(this.innerHTML)">&nbsp;</td>
      </tr>
      <tr>
        <td onMouseOver="this.style.background='#CCFFCC';this.style.cursor='hand'" onMouseOut="this.style.background='';"  onClick="alert(this.innerHTML)">&nbsp;</td>
      </tr>
      <tr>
        <td onMouseOver="this.style.background='#CCFFCC';this.style.cursor='hand'" onMouseOut="this.style.background='';"  onClick="alert(this.innerHTML)">&nbsp;</td>
      </tr>
      <tr>
        <td onMouseOver="this.style.background='#CCFFCC';this.style.cursor='hand'" onMouseOut="this.style.background='';"  onClick="alert(this.innerHTML)">&nbsp;</td>
      </tr>
      <tr>
        <td onMouseOver="this.style.background='#CCFFCC';this.style.cursor='hand'" onMouseOut="this.style.background='';"  onClick="alert(this.innerHTML)">&nbsp;</td>
      </tr>
      <tr>
        <td onMouseOver="this.style.background='#CCFFCC';this.style.cursor='hand'" onMouseOut="this.style.background='';"  onClick="alert(this.innerHTML)">&nbsp;</td>
      </tr>
      <tr>
        <td onMouseOver="this.style.background='#CCFFCC';this.style.cursor='hand'" onMouseOut="this.style.background='';"  onClick="alert(this.innerHTML)">&nbsp;</td>
      </tr>
    </table>
      

  2.   

    this.style.cursor='hand'变为手型,晕这是那天我没写的东东
      

  3.   

    第四个简单window.frame[2].tabel1.row[i].rowRemove
      

  4.   

    <style type=text/css>
    .font1{color:FF0000;}
    .font2{color:FFFF00;}
    </style>
    <table onmouseover="this.cursor:hand;" onmouseout="this.cursor:;">
    <tr onmouseover="this.bgcolor:#cccccc;this.style:font1;" onmouseout="this.bgcolor:#ffffff;this.style:font2;"><td>看看变化情况</td></tr>
    </table>