View Full Version : Compatibility issues with MooTools

Jul 3rd, 2008, 10:30 AM
Hi all, quite strangely, I can't seem to get the latest version of Lightbox (http://www.lokeshdhakar.com/projects/lightbox2/) to work with FX.Slide (http://demos.mootools.net/Fx.Slide).

I currently have the following in my <head> tag:

<script type="text/javascript" src="support_files/skins/v1/js/prototype.js"></script>
<script type="text/javascript" src="support_files/skins/v1/js/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="support_files/skins/v1/js/lightbox.js"></script>
<script type="text/javascript" src="support_files/skins/v1/js/mootools.js"></script>
<script type="text/javascript" src="support_files/skins/v1/js/slide.js"></script>

As it is there, the two scripts conflict somehow, and FX Slide stops working. I know it's to do with the first three lines of code, simply, in that if I comment them out, FX Slide continues to work as normal.

Does anyone know of this, or how to get around it?

Jul 3rd, 2008, 11:44 AM
Resolved. It works fine with an alternative, identical in look and feel, called Slimbox.