看到了,可以显示了,但为什么鼠标移开的时候层还在那???必须鼠标从层经过才消失,太不灵敏了,请问有什么好办法吗???
<a href="#" onmouseover="Layer1.style.visibility='visible'">这只是一个测试</a>
<div id="Layer1" onmouseover="Layer1.style.visibility='visible'" onmouseout="Layer1.style.visibility='hidden'"style="position:absolute; width:200px; height:115px; z-index:1; visibility: hidden;">这是层</div>