by Samuel on Wed May 14, 2008 6:40 pm
An official version will be released when mootools 1.2 comes out of beta.
until then...
here is what you need to do to make the MultiBox script compatibile with mootools 1.2 beta 2.
I'm not releasing these updates in a script as i want to rewrite it when 1.2 gets released, so i can use all the nice new features.
Replace the following:
- Fx.Styles with Fx.Morph
- transition: Fx.Transitions.sineInOut with transition: Fx.Transitions.Sine.easeInOut
- Class.empty with new Class()
- this.containerEffects.stop() with this.containerEffects.cancel()
It might also be necessary to modify 3 lines in overlay.js in case you want to use this option:
line 20: Class.empty -> new Class()
line 68: Fx.Style -> Fx.Tween
line 76: window.getScrollHeight() -> document.getScrollSize().x