Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
mootools lightbox plugin that supports a wide variety of media
JavaScript
branch: master
Failed to load latest commit information.
Assets initial commit
Docs initial commit
Source initial commit
README first commit
README.md initial commit
package.yml initial commit

README.md

MutliBox

A lightbox that supports a wide range of media, including html pages. It can also be created and called dynamically, eg. from within a flash movie.

How to use

create your links with a title if you want a title to be shown, and add a class:

<a href="/myBigImage.jpg" class="mb" title="example title a"><img src="/mySmallImage.jpg" border="0"></a>

initialise the script like this:

window.addEvent('domready', function(){ 
    var overlay = new overlay(); 
    var box = new multiBox('mb', { 
        overlay: overlay
    }); 
});
Something went wrong with that request. Please try again.