<script language="JavaScript" type="text/javascript">
function $(id)
{
return document.getElementById(id);
}
function show(obj)
{
var s=$(obj).style;
s.display=s.display=="none" ? "" : "none";
}
</script>
<table width="500" border="1">
<tr>
<td width="200" style="cursor:pointer;" onClick="show('div1');">点击单元格显示文字或图片</td>
<td><div id="div1">将这里的文字替换成图片就行了</div></td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
</table>