Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Mac OS X style javascript pop-ups for your browser (based on prototype +
JavaScript PHP
Branch: master
Latest commit 537274 @okonet Merge pull request #51 from clops/master
Added tracking of X Scroll Offsets


ModalBox is a JavaScript technique for creating modern (Web 2.0-style) modal dialogues or even wizards (sequences of dialogues) without using conventional popups and page reloads. It's inspired by Mac OS X modal dialogues. And yes, it may also be useful for showing bigger versions of images.

Basically, ModalBox is based on GrayBox technique by Amir Salihefendic. But you can find a lot of similar techniques around the web: Lightbox JS, Lightbox gone wild, ThickBox etc.

There also a clone of ModalBox, the MOOdalBox, written on great and lightweight Mootools Framework.
Something went wrong with that request. Please try again.