FancyTooltips re-fix

Since the previous fix is not working well with IE7, I’ve come up with a new FancyTooltips fix.

Thanks to Firebug, this new fix gets rid of the CSS-Hack, directly fix on the js file, and work better with IE7.

It’s basically for some unknown reason, the oContainer is not empty when calling setContainerContent(). The fix is explicitly call removeContainerContent() in setContainerContent(), avoid the double tooltip problem in Firefox:

var oOutputNode = document.importNode(oXMLDoc.documentElement, true);
removeContainerContent(); //add this line
var oChild = oOutputNode.firstChild;

Download the new fixed package.

This also contains the previous fix for wordpress <ins> <del> time parsing problem, plus simple CSS opacity fix for IE(no round-corner support though)

FancyTooltips is released in MIT License.

This entry was posted in wordpress. Bookmark the permalink.

One Response to FancyTooltips re-fix

  1. Pingback: Kurzinfos mit Fancy Tooltips aufgepeppt | Webseiten-Infos.de

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>