Posted Post

Posted People, Posted Life.

A Bug of “Tips Module” on “MooTools 1.2.1″

MooTools works great.

Today I met an issue on MooTool Tips Class, on version 1.2.1. The issue may occur when you place the webpage with “tips” inside an iframe. At my IE6 and Windows 2000 system, an error message will appear when load the frame document.

Solution is easy, find the code inside “var Tips = new Class({”, change

this.tip = new Element(’div’).inject(document.body);

to

this.tip = new Element(’div’).inject(document.body, ‘top’);

No comments yet »

Your comment

HTML-Tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>