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.
Features of ModalBox
- Web 2.0-ready – ModalBox uses industry-standard libraries — prototype and script.aculo.us.
- “Offline-mode” – Use dynamic- or plain-HTML without any Ajax-calls to fill out your dialog windows.
- Ajax page loading – it uses AJAX instead of deprecated
iframefor content loading. It’s also more secure — you can’t access pages which are not on your host.
- Automatic height adjustment – it adjust Modalbox height depending on your content. No more height tweaking!
- “Scrolling mode”– If your content might be long just define the height of the ModalBox and it will be switched into “scrolling mode”
- Browser and platform independent – Since most of modern browsers use popup blockers, it’s hard to find another way to create 100% browser-compatible modal dialogs.
- Multi-purpose – You can create complex wizards to guide users through the process. Image slideshows can be done too.
- Keystrokes support – Use ESC key to close ModalBox.
- Customizable Look & Feel – Use CSS to make ModalBox look like you want.
- Supports transitional effects – Slide down appearing and on-the-fly resizing.
- Lightweight – Just about 10 KB of code.
- Cross browser Modal Box – Tested in IE6, IE7, Firefox 1.0, 1.5, 2.0, Safari, Camino, Opera 8 and 9.