Multibox with Mootools 1.2b?

lightbox that supports images, flash, video, mp3s, html

Multibox with Mootools 1.2b?

by eyecache on Tue May 13, 2008 8:19 am

1.)Has anyone managed to get this working with Mootools 1.2b?

2.)If no, is there an official version in progress that will work with 1.2b?

Thanks!
eyecache
 
Posts: 1
Joined: Tue May 13, 2008 8:17 am

Re: Multibox with Mootools 1.2b?

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
Samuel
Site Admin
 
Posts: 7
Joined: Tue May 06, 2008 9:25 pm


Return to multibox

Who is online

Users browsing this forum: Alexa [Bot] and 0 guests