翻了一下,function onRowOver(row, rowNo){ if(row_ed[rowNo]==null||!row_ed[rowNo]){ // use row.bgColor save ori color since it has no effect if has style backgroundColor row.bgColor=row.style.backgroundColor; row.style.backgroundColor=row_over_color!=null?row_over_color:'#CCFFCC'; } }这个函数应该就是鼠标处于TD的事件。应该还有一个现实内容用的。
if(row_ed[rowNo]==null||!row_ed[rowNo]){
// use row.bgColor save ori color since it has no effect if has style backgroundColor
row.bgColor=row.style.backgroundColor;
row.style.backgroundColor=row_over_color!=null?row_over_color:'#CCFFCC';
}
}这个函数应该就是鼠标处于TD的事件。应该还有一个现实内容用的。