i decided to create simple tooltip myself since it does fit my needs. i
will share the code once finished.

On Tue, Jun 12, 2012 at 8:18 PM, Marc A. <[email protected]> wrote:

> I had a similar problem with popovers, If I replaced content via AJAX
> while a popover was shown, there was no mouse-out event because the DOM
> element that triggered the popover didn't exist anymore. Destroying
> popover/tooltip on content refresh will make it flicker. I didn't find a
> clean solution around this...maybe a javascript guru can chime in.
>
> Marc
>
>
> Le lundi 11 juin 2012 06:45:17 UTC-4, arman adhitama a écrit :
>>
>> well if i put $('[title]').tooltip('leave') to the ajax callbak, it's
>> work. but IMHO this is not the cleanest way to do it.
>>
>> any suggestion are welcome.
>>
>> thanks
>>
>> On Monday, June 11, 2012 5:35:42 PM UTC+7, arman adhitama wrote:
>>>
>>> hi,
>>> i'm not sure whether this is bugs or not, but i can't make tooltip works
>>> correctly (it won't close on mouseleave) on content loaded with ajax.
>>>
>>> here my codes :
>>>
>>> $.ajax({
>>> url: $(this).attr('data-popup'),**success: function(data) {
>>> $('.content-inner').delay(**1000).hideLoading();
>>> $('.content-inner').html(data)**;
>>> $('*[data-image]').**drawingImage();
>>> }
>>> });
>>>
>>> $(document).tooltip({
>>> selector: '[title]'
>>> });
>>>
>>> checked on my firebug and no error shown.
>>>
>>> anyone had experienced same problem with me?
>>>
>>> thanks
>>>
>>

Reply via email to