J
jobs
the javascript:
function ShowTooltip(L1in)
{
document.getElementById("L1").innerText=L1in;
y = event.clientY + document.documentElement.scrollTop;
var Popup= document.getElementById("Popup")
Popup.style.display="block";
Popup.style.position="absolute";
Popup.style.left = 220;
Popup.style.top = y - 10;
}
function HideTooltip()
{
document.getElementById("Popup").style.display="none";
}
</script>
....
the html div tag will be used on mouseover
<div id="Popup" class="transparent" style="font-size: 14pt; color:
lightslategray; font-family: Haettenschweiler; background-color:
whitesmoke; border-right: whitesmoke thin inset; border-top: whitesmoke
thin inset; border-left: whitesmoke thin inset; border-bottom:
whitesmoke thin inset; font-style: italic;">
<table>
<tr>
<td id=L1>
</td>
</tr>
</table>
</div>
.... the html code my vb.net codebehind gridview renders is.
</tr><tr>
<td onmouseover="ShowTooltip('DE043512-6815-45A9-936E-D5D5AD8F100B
');" onmouseout="HideTooltip();">9975313</td><td>8136214650
</td><td>5322695101 </td><td>10/27/2006 6:22:47
PM</td><td>UA</td><td>0123</td><td>CUBA
</td><td>5.8800</td><td>7.2300</td><td>-1.3500</td>
works great, except the div flickers flickers like hell.
I'm running IE 6.0
function ShowTooltip(L1in)
{
document.getElementById("L1").innerText=L1in;
y = event.clientY + document.documentElement.scrollTop;
var Popup= document.getElementById("Popup")
Popup.style.display="block";
Popup.style.position="absolute";
Popup.style.left = 220;
Popup.style.top = y - 10;
}
function HideTooltip()
{
document.getElementById("Popup").style.display="none";
}
</script>
....
the html div tag will be used on mouseover
<div id="Popup" class="transparent" style="font-size: 14pt; color:
lightslategray; font-family: Haettenschweiler; background-color:
whitesmoke; border-right: whitesmoke thin inset; border-top: whitesmoke
thin inset; border-left: whitesmoke thin inset; border-bottom:
whitesmoke thin inset; font-style: italic;">
<table>
<tr>
<td id=L1>
</td>
</tr>
</table>
</div>
.... the html code my vb.net codebehind gridview renders is.
</tr><tr>
<td onmouseover="ShowTooltip('DE043512-6815-45A9-936E-D5D5AD8F100B
');" onmouseout="HideTooltip();">9975313</td><td>8136214650
</td><td>5322695101 </td><td>10/27/2006 6:22:47
PM</td><td>UA</td><td>0123</td><td>CUBA
</td><td>5.8800</td><td>7.2300</td><td>-1.3500</td>
works great, except the div flickers flickers like hell.
I'm running IE 6.0