Html Coding help needed?

Chris C

New member
Here ya go:
<html>
<head>
</head>

<body>
***<table id="myTable">
******<tr>
*********<td>Testing 1</td>
******</tr>
******<tr>
*********<td onmouseover="document.getElementById('largeimagedisplay').innerHTML='Here\'s the text to display';">
************Mouse over this text to fill the bottom table cell
*********</td>
******</tr>
******<tr>
*********<td id="largeimagedisplay">
*********</td>
******</tr>
***</table>
</body>
</html>

Here's the text that you can't see above thanks to Yahoo Answers. Just make sure that it is all on the same line after "onmouseover=":
***document.
***getElementById('largeimagedisplay').
***innerHTML='Here\'s the text to display';
 
I know this.innerhtml can change the text on mouseover/out, but How can I do it so that as when the mouse hovers over the given text, the text changes in another area of the html code? EG I hover on text on the right side of the document, but it changes some text on the left side? Thanks in advance!
 
Back
Top