patch #1191447, hand pointer on mouseover and mousedown

This commit is contained in:
Marc Delisle
2005-05-13 18:18:55 +00:00
parent 7dbe623ed0
commit 305a93536e
2 changed files with 9 additions and 0 deletions

View File

@@ -412,6 +412,13 @@ function setPointer(theRow, theRowNum, theAction, theDefaultColor, thePointerCol
return false;
}
// 1.1 Sets the mouse pointer to pointer on mouseover and back to normal otherwise.
if (theAction == "over" || theAction == "click") {
theRow.style.cursor='pointer';
} else {
theRow.style.cursor='normal';
}
// 2. Gets the current row and exits if the browser can't get it
if (typeof(document.getElementsByTagName) != 'undefined') {
theCells = theRow.getElementsByTagName('td');