Sub tblData_onmousemove
tblData.rows(PrevRowNum-1).style.backgroundColor = ""
PrevRowNum = window.event.srcElement.parentElement.rowIndex
tblData.rows(PrevRowNum-1).style.backgroundColor = "#fad185"     
End Sub
有问题

解决方案 »

  1.   

    正确代码:Sub tblData_onmousemove
    tblData.rows(PrevRowNum-1).style.backgroundColor = ""
    PrevRowNum = window.event.srcElement.parentElement.rowIndex-1
    tblData.rows(PrevRowNum-1).style.backgroundColor = "#fad185"     
    End SubSub tblData_onclick
    If window.event.srcElement.tagName = "TBODY" Then
    Exit Sub
    End If
    'tblData.rows(CurItemID-1).bgcolor = CurItemColor
    ChgLine CurItemID-1,""
    CurItemID = window.event.srcElement.parentElement.rowindex-1
    CurItemColor = window.event.srcElement.parentElement.bgcolor
    'window.event.srcElement.parentElement.bgcolor = ItemColor
    ChgLine CurItemID-1,"SelectItem"
    End Sub
      

  2.   

      谢谢您帮忙!!
      可是我现在看到的界面并非我所想的那样,不知为什麽?‘序号’栏目的位置太宽了,
    其他的也不美观。我本以为是<td>的宽度为定义的原因,可是并非如此。还请您帮忙!!
      谢谢!!
      

  3.   

      更正一下,我发现在 WINDOWSNT 上没问题,可在  WINDOWS 98 上却有我上面说的问题。
    不知什麽原因?
      

  4.   

    与系统无关,与浏览器有关的!!你''可能用了onresize事件!
      

  5.   

    可否解释一下 onresize 事件