Beautified display of tables under Mozilla & NS6+ thanks to a fix from Detlev Stender

This commit is contained in:
Loïc Chapeaux
2001-11-23 19:13:07 +00:00
parent 05fefd4211
commit dc91bc219a
11 changed files with 238 additions and 202 deletions

View File

@@ -293,3 +293,27 @@ function checkTransmitDump(theForm, theAction)
return true;
} // end of the 'checkTransmitDump()' function
/**
* Displays an confirmation box beforme to submit a "DROP/DELETE/ALTER" query.
* This function is called while clicking links
*
* @param object the link
* @param object the sql query to submit
*
* @return boolean whether pointer is set or not
*/
function setPointer(theRow, thePointerColor)
{
if (typeof(theRow.style) == 'undefined' || typeof(theRow.cells) == 'undefined') {
return false;
}
var row_cells_cnt = theRow.cells.length;
for (var c = 0; c < row_cells_cnt; c++) {
theRow.cells[c].bgColor = thePointerColor;
}
return true;
} // end of the 'setPointer()' function