Skip to content
javascript lightbox clone to use with prototype.js
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


SimpleBox is a javascript library to display modal elements in a web page. It's
basically yet another [lightbox-clone][1]. It can be used to display any html
content in a modal box. It can work with images, but also with videos, forms,

It uses prototype (minimal version: 1.7), and **does not need**

When modal box is shown, it's automatically centered vertically. You can use
css top and bottom margins if you want to modify this position. If you want to
center the box horizontally, you need to manage that yourself with css.

You can personalize background opacity and methods used to close simplebox with
argument options. SimpleBox fires custom events when simplebox is shown or
hidden: _simplebox:shown_ and _simplebox:hidden_ respectively.

You can’t perform that action at this time.