
var p = (e.type == "mouseover" ? e.fromElement : e.toElement) || e.relatedTarget;
// next three lines copied from jQuery.hover, ignore children onMouseOver/onMouseOut
// A private function for handling mouse 'hovering'
ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t);
// A private function for delaying the mouseOut function
ob.hoverIntent_t = setTimeout( function(){compare(ev, ob);} , cfg.interval );
// use self-calling timeout, guarantees intervals are spaced out properly (avoids JavaScript timer bugs)
// set hoverIntent state to true (so mouseOut can be called)
Комментариев нет:
Отправить комментарий