@Gordon
mouseover and mouseenter is not the same. mouseover bubbles mouseenter
not. This means with mouseover/mouseout your handler will be called
everytime you mouseover/mouseout a descendant element. With mouseenter
your eventhandler is pnly called, if the mouse enters your element.
This is the problem, why you need to handle this special with live-
event. To get this work you have to use mouseover to simulate
mouseenter...

regards
alex

btw: using mouseenter/mouseover/mouseleave/mouseout-events with live
can add a lot overhead to your app. I don´t think, that you should use
this unthought. But it will make much sense with the upcomming feature
to bind the listener to another context than document in jquery 1.3.3.

On 23 Apr., 10:24, Gordon <grj.mc...@googlemail.com> wrote:
> I would have thought you could do it with $('.selector').live
> ('mousrover', myMouseOverFunc).live ('mouseout', myMouseOutFunc);
>
> On Apr 11, 8:36 pm, Walther <waltherl...@gmail.com> wrote:
>
> > I am looking for a way to simulate the actions of the hover (or
> > mouseenter/mouseleave) whilst using the live method of binding (The
> > items are dynamic).
>
> > Is there a way to do this or will I need to use the 'old fashioned'
> > method of unbinding and rebinding? I do not want to use a plugin.

Reply via email to