Hello,

I'm having the similar problem.

When I try to use the hoverIntent within the livequery, the
hoverintent triggers immediatly even when I didn't went over the
element.

j("a.jTip")
    .livequery(function(){

       j(this)
          .hoverIntent({
                sensitivity: 3,
                interval: 20000,
                over: JT_show(this.href,this.id,this.name),
                timeout: 500,
                out: j('#JT').remove()
                })
          .click(function(){return false});
    }, function() {
        $(this)
            .unbind('mouseover')
            .unbind('mouseout');
    });


i'm using jTip to load a kind of vcard.

when I use just hover then it works fine. But it has to load only
after a few seconds when the mouse on the element.

Thanks in advanced.

Gerbrand


On May 2, 3:44 pm, "Brandon Aaron" <[EMAIL PROTECTED]> wrote:
> I don't see anything wrong with the code you posted. Could you post more of
> the code or a test page?
>
> --
> Brandon Aaron
>
> On Fri, May 2, 2008 at 8:26 AM, Alexandre Plennevaux <[EMAIL PROTECTED]>
> wrote:
>
>
>
> > hello!
>
> > i need to assign a behaviour triggered via the hoverIntent plugin to
> > elements fetched via ajax. I would assume i should use the livequery plugin
> > for that, but my attempts have failed miserably so far.
>
> > Here is the non livequery code, that works for DOM elements present on
> > document ready:
>
> > $('ul.mainmenu:not(#applicationTitle)').hoverIntent({
> >           sensitivity: 2,
> >           interval: 0,
> >           over: function(){
> >               $('li, li a', $(this)).addClass('visible');
> >           },
> >           timeout: 0,
> >           out: function(){
> >               $('li, li a', $(this)).removeClass('visible');
> >           }
> >       })
>
> > i tried this, but it doesn't work _  Any help *much* appreciated, thanks
> > !!
>
> >       $('ul.mainmenu:not(#applicationTitle)').livequery(function(){
> >             $(this).hoverIntent({
> >           sensitivity: 2,
> >           interval: 0,
> >           over: function(){
> >               $('li, li a', $(this)).addClass('visible');
> >           },
> >           timeout: 0,
> >           out: function(){
> >               $('li, li a', $(this)).removeClass('visible');
> >           }
> >       });
> >       })

Reply via email to