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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user