该网页有2个div
<div top> : This div overlap the under div unless the user exit it
<div under> : This div has a function, when user hover one of the item on it, it will process something
那么,当 div top 生成并覆盖 under div 时,鼠标不小心悬停在页面上会触发 div 下的功能,有什么办法可以防止呢?当显示 div 顶部时,我只希望所有应用程序都集中在 div 顶部。谢谢
var handler = function() {
$('drag').unbind('hover', handler);
};
不工作?