Dont know much of Javascript, so would appreciate if someone could give this a quick lookover and tell me what's wrong.
Desired results: <div> is hidden, is visible with onmouseover and hidden again with onmouseout.
ASP is calling multiple rows:
id=<%=RID%> is ASP-insert of id-number of text
<%=RText%> is ASP-insert of the text
here's the code:
Here the table is filled with rows from database:
thx for your help
Desired results: <div> is hidden, is visible with onmouseover and hidden again with onmouseout.
ASP is calling multiple rows:
id=<%=RID%> is ASP-insert of id-number of text
<%=RText%> is ASP-insert of the text
here's the code:
Code:
<script type="text/javascript">
function show (textnr) {
if (document.textnr)
document.getElementById(textnr).style.visibility = "visible";
}
function hide (textnr) {
if (document.textnr)
document.getElementById(textnr).style.visibility = "hidden";
}
</script>
Code:
<td class="even" align="center"><img src="images/auge.gif" width=20 height=20 border=0 onmouseover="show('<%=RID%>')" onmouseout="hide('<%=RID%>')"></td>
<div id="<%=RID%>" style="visibility:hidden; background-color:#dddddd; font-family:Verdana; font-size:8pt; position:absolute; top:135px; left:120px;"><%=RText%></div>
thx for your help