I wasnt diggin too much and im not sure if it is 100% correct fix but it
works for me (hover activation).
I have added this right after line 420 of jquery.cluetip.js
$this.trigger('mouseenter.cluetip', function(event) {
activate(event);
mouseTracks(event);
});
and it seems to work smoothly with live.
Regs
korg wrote:
>
>
> I'm currently using cluetip with livequery, but is it possible to use
> it with live too?
>
> $('#mydiv a.tooltip').livequery(function(event) {
> $(this).cluetip({cluetipClass: 'tooltipclass', width: 400});
> });
>
>
> Using the below code doesn't seem to work very well if the content has
> been dynamically added. I must hover a.tooltip twice for the tooltip
> to open up, and hovering a third time sometimes brings up broken
> tooltip content.
>
> $('#mydiv a.tooltip').live('mouseover', function(event) {
>
> Any ideas?
>
> Thanks! :)
>
> Regards,
>
>
--
View this message in context: http://old.nabble.com/Cluetip-with-live-tp22392243s27240p27437606.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.
No comments:
Post a Comment