RE:
> $P
> .unbind("mouseenter."+ namespace, addHover )
> .unbind("mouseleave."+ namespace, removeHover )
> ;
>
> ???
Is this supposed to be a question? I assumed the sample was clear
since I also included the 'bind' statement...
$P
.bind("mouseenter."+ namespace, addHover )
.bind("mouseleave."+ namespace, removeHover )
;
But for extra clarity...
* $P is a var representing a jQuery object
* namespace is a string var, like "layout_99999"
* addHover and removeHover are custom functions
If you aren't familiar with namespaced events, see...
http://docs.jquery.com/Release:jQuery_1.2.3
...and scroll down to: .unbind(".namespace")
Also see...
http://docs.jquery.com/Release:jQuery_1.2/Events
As noted here, namespacing is *recommended* for plug-ins.
/Kevin
On Oct 2, 11:41 am, Andrea Giammarchi <[email protected]>
wrote:
> $P
> .unbind("mouseenter."+ namespace, addHover )
> .unbind("mouseleave."+ namespace, removeHover )
> ;
>
> ???
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---