snippet library logo
The Best Html Forum Around
in category
Javascript / OnMouseover / Change Text
Snippet details
ID: 32
Viewed: 1418
Added: 2004-10-30
Version: 1.1
View Demo

User Rated at:
Rate This:
Snippets in this catagory         
Show Printable Version
will make text show up in table cell when cursor is over text.

Browsers: IE5+, NS6+, Mozilla/firefox

General Details
Snippet uploaded by: snippet
Email : webmaster@snippetlibrary.com
Snippet By: Unknown

<!---Head--->
<script type="text/javascript">
<!--
var curCell;
function changeText(tdLink,strDesc){
if(curCell){
curCell.innerHTML = '';
}
tdLink.innerHTML = strDesc;
curCell = tdLink;
}
//-->
</script>

<!---Body--->


<table> 
<tr> 
<td name="link1" onMouseover="changeText(desc1,'This is link1');">Link # 1</td> 
<td id="desc1"></td> 
</tr> 
<tr> 
<td name="link2" onMouseover="changeText(desc2,'This is link2');">Link # 2</td> 
<td id="desc2"></td> 
</tr> 
</table> 




No Reviews to show


Please completely fill out the form below if you want to review this snippet. All reviews are subject to validation.


Subject:

Reviewed By:

Write a review:





Terms of Conditions
Powered By
Avian Hosting
© 2005 snippetlibrary.com All Rights Reserved.