<td onmouseover="this.style.fontSize='11pt'" onmouseout="this.style.fontSize='9pt'">

解决方案 »

  1.   

    如果在fucntion里这样写,怎么会没有用那、
    function changebackgroup() {
    this.style.backgroundImage="url(images/d2.gif)";
    this.style.fontSize='20pt'
    }
    function changebackgroup2() {
    this.style.backgroundImage="url(images/d1.gif)";
    this.style.fontSize="12px"
    }
              <td width="210" height="45" id="a3" background="images/d1.GIF" onMouseOut="changebackgroup2()" onMouseOver="changebackgroup()" >218736127836126</td>
      

  2.   

    我晕, 那有你这样乱用 this 的呀.
    onMouseOut="changebackgroup2(this)" onMouseOver="changebackgroup(this)" function changebackgroup(mm) {
    mm.style.backgroundImage="url(images/d2.gif)";
    mm.style.fontSize='20pt'
    }
    function changebackgroup2(mm) {
    mm.style.backgroundImage="url(images/d1.gif)";
    mm.style.fontSize="12px"
    }