Skip to content
Slimbox 1.8 for mootools 1.3
Choose a tag to compare
@cbeyls cbeyls released this
· 6 commits to master since this release


(c) Christophe Beyls 2007-2011

Included files:

example.html A simple example page demonstrating how to use Slimbox with the default configuration.
example.jpg An example image used on the example page.
README.txt The file you are reading.
css/* The Slimbox stylesheet and its associated images. You can edit them to customize Slimbox appearance.
You can choose between the standard slimbox.css or slimbox-rtl.css which is designed for right-to-left languages.
js/mootools.js The minified version of mootools v1.3.2 including only the modules required by Slimbox.
js/slimbox.js The minified version of Slimbox, plus the editable autoloading code using default options.
src/slimbox.js The Slimbox source. Contains many comments and is not suitable for production use (needs to be minified first).
extra/* Some extra scripts that you can add to the autoload code block inside slimbox.js to add special functionality.

You can use the provided mootools.js and slimbox.js scripts "as is", or you can use a custom mootools build
downloaded from the official mootools website and/or edit the autoloading code inside slimbox.js.

You need to download a new mootools version if your web page scripts require additional mootools modules,
or if you want to use a different version of mootools. This script is only compatible with mootools 1.3 and more recent.

Here are the mootools core modules required by this version of Slimbox:

  • Element.Style, Element.Event, Element.Dimensions
  • Fx.Tween, Fx.Morph (optionally Fx.Transitions)
  • DOMReady

You can remove or customize the provided autoload code block by editing the slimbox.js file. By default, it behaves like Lightbox.
When deploying slimbox.js, you MUST always preserve the copyright notice at the beginning of the file.

If you are a developer and want to edit the provided Slimbox source code, it is strongly recommended to minify the script using "YUI Compressor"
by Julien Lecomte before distribution. It will strip spaces and comments and shrink the variable names in order to obtain the smallest file size.

For more information, please read the documentation on the official project page.