我有一个脚本,使用 onmouseover 使元素显示 = 块
<script language="JavaScript">
function aaa()
{
document.getElementById('cat').style.display = "block";
}
</script>
<a href='#' onmouseover='aaa()'>hover on me</a>
<div id='cat' style='display:none;'>this will show</div>
当鼠标不在
"<a href='#' onmouseover='aaa()'>hover on me</a>"
我怎样才能做到这一点?