<div>Hi neven,</div>
<div> </div>
<div>The best way is to unbind mouseover and mouseout handlers which is what hover() "proxy" binds for you. You may get a faster response if you subscribe to the <a href="mailto:jquery-en@googlegroups">jquery-en@googlegroups
</a> email list as this one is specifically for the core development of the jQuery library itself.</div>
<div> </div>
<div>Cheers,</div>
<div>-Jonathan
</div>
<div><span class="gmail_quote">On 11/4/07, <b class="gmail_sendername">neven</b> <<a href="mailto:nrodic@gmail.com">
nrodic@gmail.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
I'm not sure how to unbind hover handlers.
Here is the problem: I am writing plugin that uses $(...).hover(f,g)
function to bind mouseover and mouseout handlers. When cleanup time
comes I cannot unbind only my handlers because they are not really
bound to mouseover and mouseout events. That is handleHover(e) private
function from jQuery core which cannot be namespaced in
v.1.2.1. I can
unbind all the handlers for these events but it is certainly not
desired behavior for any plugin.
I'm going to copy hover() code from core and namespace my version but
it doesn't feel like "write less do more" way.
Did I miss anything? Does anyone have good suggestion how to make my
copy of hover() private (not to extend $.fn object)?
</blockquote></div>