<script>
function out(){
if (!event.srcElement.contains(event.toElement)) return;
你的方法;
}
</script>
<div οnmοuseοver="" οnmοuseοut="out()"></div>
<script>
function out(){
if (!event.srcElement.contains(event.toElement)) return;
你的方法;
}
</script>
<div οnmοuseοver="" οnmοuseοut="out()"></div>