There's a known bug with tips in 1.2.4.2. There's a fix in github already, and its ready to be released, but 1.2.4.3 isn't quite yet. We hope to release it next week.
To just get it working, download tips.js from http://github.com/mootools/mootools-more and put it in your environment right after MooTools 1.2.4.2. Then, when 1.2.4.3 comes out, you can upgrade and remove that extra copy. Hopefully we'll have this out for you super soon. Aaron On Sat, Dec 5, 2009 at 12:20 PM, Trevor Orr <[email protected]> wrote: > Since upgrading to mootools v1.2.4 and more v1.2.4.2 I an getting an error > when moving out of the element. This all worked fine with 1.2.2. Ideas? > > Here is the error I am getting: > > element.getParent is not a function > http://www.ccb.com/resources/js/mootools-1.2.4.2-more.js > Line 7885 > > > This is my code: > > function initTips() { > var ti = $$('.tip'); > > ti.each(function(element,index) { > var content = element.get('title').split('::'); > element.store('tip:title', content[0]); > element.store('tip:text', content[1]); > }); > > tips = new Tips($$('.tip'), { > className: 'tip', > fixed: false, > hideDelay: 50, > showDelay: 50 > }); > > tips.addEvents({ > 'show': function(tip) { > tip.setStyle('z-index', '9999'); > } > }); > } > > > >
