87,955
社区成员
![](https://csdnimg.cn/release/cmsfe/public/img/topic.427195d5.png)
![](https://csdnimg.cn/release/cmsfe/public/img/me.40a70ab0.png)
![](https://csdnimg.cn/release/cmsfe/public/img/task.87b52881.png)
![](https://csdnimg.cn/release/cmsfe/public/img/share-circle.3e0b7822.png)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script>
window.onload = (function(){
var obj=document.getElementsByTagName("img");
for(var i=0;i<obj.length;i++){
obj[i].style.display="none";
}
var l=document.getElementsByTagName("a");
for(var i=0;i<l.length;i++){
var index=i;
l[i].onmouseover=function(){
this.parentNode.childNodes[1].style.display="";
};
l[i].onmouseout =function(){
this.parentNode.childNodes[1].style.display="none";
};
}
});
</script>
</head>
<body>
<table>
<tr>
<td class="cheng"> <a href="">p1111</a><img src="#">1</img></td>
<td class="cheng"> <a href="">p2222</a><img src="#">2</img></td>
</tr>
</table>
</body>
</html>
<p onmouseover='document.getElementById("img").style.display = "block"' onmouseout='document.getElementById("img").style.display = "none"'>图片1</p>
<p></p><p></p>
<img id="img" src="images/show_01.jpg" />