Letractively / tooltips

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

Problems by changing the container via innerHTML #48

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi

Your tooltip-script is really great, just when I change the content of a 
div-container via prototype AJAX-Request the tooltip stay on the site.

I've adapted this script now by adding the following lines before the new 
Tooltip-Class is initialised:

for(var i=0;i<$$(".tooltip").length;i++) {
$$(".tooltip")[i].hide();
}

Are there any other possibilities to erase all the consisting tooltips??

Kind regards
Tobias Ernst
info@tobias-ernst.ch

Original issue reported on code.google.com by tobias.t...@gmail.com on 31 Oct 2011 at 12:33