This might help
Code:
<html>
<head>
<script language="javascript">
var a = "Article 2"
var b = "Article 3"
var c = "Article 4"
var orig = "Main Article Text"
function showArticle(which) {
mainContent.innerHTML = which
}
function origArticle() {
mainContent.innerHTML = orig
}
</script>
</head>
<body>
<table width="400" border="1">
<tr>
<td width="200" id="mainContent">Main Article Text</td>
<td width="200" height="200" valign="top">
<a href="#" onmouseover="showArticle(a)" onmouseout="origArticle()">Article 2</a>
<br><a href="#" onmouseover="showArticle(b)" onmouseout="origArticle()">Article 3</a>
<br><a href="#" onmouseover="showArticle(c)" onmouseout="origArticle()">Article 4</a>
</td>
</tr>
</table>
</body>
</html>
Bookmarks