Letractively / tooltips

Automatically exported from code.google.com/p/tooltips
0 stars 0 forks source link

tool tip not closing when we use ajax divs updates not working in ff,ie working in chrome #45

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?
tool tip has to close when we move to one page to another its not
disappearing in ie and ff but working in google chrome actually im using
ajax div updating and on next page also the tool tip remains same

What version of the product are you using? On what operating system?
latest downloaded version

Please provide any additional information below.
please help me out with this issue thanks in advance

Original issue reported on code.google.com by prashant...@gmail.com on 3 Mar 2010 at 12:42

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
ERRATA:

At the top of the appear-function (below the line "appear: function() {" insert:

$$('div.AXtooltip').each(function(item) {
    if(item.getStyle('display') != 'none') {
        item.remove();
    }
});

This will first remove all tooltip-DIVs from the DOM which are visible at this 
time before a new one is created.

In order to prevent creating a tooltip object twice for the same element during 
an ajax call, make sure to create new tooltips only on the changed elements.

Works fine for me!

Original comment by Sebastia...@gmail.com on 6 Sep 2011 at 3:56