function getOffsetLeft (el) {
var ol = el.offsetLeft;
while ((el = el.offsetParent) != null)
ol += el.offsetLeft;
return ol;
}
function getOffsetTop (el) {
var ot = el.offsetTop;
while ((el = el.offsetParent) != null)
ot += el.offsetTop;
return ot;
}
function hideRow (row) {
if (document.all) {
if (!document.all.rowCurtain) {
var html = '';
html += '
<SPAN ID="rowCurtain"';
html += ' STYLE="position: absolute;';
html += ' background-color: #999999;';
html += '"';
html += '>';
html += '</SPAN>';
document.body.insertAdjacentHTML('beforeEnd', html);
}
var c = document.all.rowCurtain;
c.style.left = getOffsetLeft(row) + 'px';
c.style.top = getOffsetTop(row) + 'px';
c.style.width = row.offsetWidth + 'px';
c.style.height = row.offsetHeight + 'px';
c.style.visibility = 'visible';
}
}
<TD width="73"><font color="#FFFFFF" size="2" face="Verdana"> Nombre
</font></TD>
<TD width="63"><font color="#FFFFFF" size="2" face="Verdana"> Fecha
</font></TD>
<TD width="73"><font color="#FFFFFF" size="2" face="Verdana"> Pais
</font></TD>
<TR ONMOUSEOVER="hideRow(this);">
<TR ONMOUSEOVER="hideRow(this);">
<TR ONMOUSEOVER="hideRow(this);">