Add a subtle highlight when mouse is over top X rows to provide better feedback to users that they may click anywhere

in the row to visit the application version.  Add underlining to the text in the test results table to provide similar
feedback.
This commit is contained in:
Chris Morgan
2006-07-21 19:18:10 +00:00
committed by WineHQ
parent c726511204
commit 4b380d37b3
4 changed files with 11 additions and 7 deletions

View File

@@ -19,17 +19,20 @@ function deleteURL(text, url) {
}
}
function ChangeTrColor(tableRow, bHighLight, sHighlightColor, sInactiveColor)
function ChangeTr(tableRow, bRowActive, sHighlightColor, sInactiveColor,
sTextDecorationHighlight, sTextDecorationInactive)
{
if (bHighLight)
if (bRowActive)
{
tableRow.style.backgroundColor = sHighlightColor;
tableRow.style.cursor = "hand";
tableRow.style.textDecoration = sTextDecorationHighlight;
}
else
{
tableRow.style.backgroundColor = sInactiveColor;
tableRow.style.cursor = "pointer";
tableRow.style.textDecoration = sTextDecorationInactive;
}
}