Having some issues with live method and the bassistance tooltip

http://docs.jquery.com/Events/live
http://bassistance.de/jquery-plugins/jquery-plugin-tooltip/

I'm using the live() attached to the onmouseover method to dispatch
the element to the tooltip function.  It works - not the first time -
but the second - and after that it fails.  I suspect its because the
bassistance plugin is written for non-ajax based applications, which
is understandable.  Has anyone extended this plugin to support Ajax
based tooltips where the DOM is injected?

I know that the reason the that tooltip is bombing out is because

                        return this.each(function() {
                                        $.data(this, "tooltip", settings);
                                        this.tOpacity = 
helper.parent.css("opacity");
                                        // copy tooltip into its own expando 
and remove the title
                                        this.tooltipText = this.title;
                                        $(this).removeAttr("title");
                                        // also remove alt attribute to prevent 
default tooltip in IE
                                        this.alt = "";
                                })

clearly shows that its removing the attribute (and firebug confirms).
So it appears that to solve for this one would have to provide a
isLive setting to this and write up some conditionals that does the
handling if its ajax.

Has anyone done that yet or should I forge ahead?

Reply via email to