JS控制<DIV>鼠标悬停时 显示 当鼠标移开时隐藏
[code]<div id="t1"><img src="1.jpg"/></div>
<div style="display:none;" id="t2">内容,,,</div>
<script>
var t1=document.getElementById("t1");
var t2=document.getElementById("t2");
t1.onmouseover=function(){ t2.style.display="block";}
t1.onmouseout=function(){ t2.style.display="none";}
</script>[/code]