Sub tblData_onmousemove
tblData.rows(PrevRowNum-1).style.backgroundColor = ""
PrevRowNum = window.event.srcElement.parentElement.rowIndex
tblData.rows(PrevRowNum-1).style.backgroundColor = "#fad185"
End Sub
有问题
tblData.rows(PrevRowNum-1).style.backgroundColor = ""
PrevRowNum = window.event.srcElement.parentElement.rowIndex
tblData.rows(PrevRowNum-1).style.backgroundColor = "#fad185"
End Sub
有问题
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
可是我现在看到的界面并非我所想的那样,不知为什麽?‘序号’栏目的位置太宽了,
其他的也不美观。我本以为是<td>的宽度为定义的原因,可是并非如此。还请您帮忙!!
谢谢!!
不知什麽原因?