ModalBox – create Mac OS X style JavaScript pop-ups for Your Browser
ModalBox is a JavaScript technique that allow you to create Mac OS X style JavaScript pop-ups or modal dialogue box without page Reloads.

The ModalBox is built with pure JavaScript and is based on Sam Stephenson’s excellent Prototype JavaScript Framework, script.aculo.us toolkit and valid XHTML/CSS. It uses AJAX to load content instantly, so it can be easily used with any server-side application to load just what you need at particular time.
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
iframe for content loading. It’s also more secure — you can’t access pages which are not on your host. - Callbacks support – You can attach your own JavaScript events after showing or hiding (and more) the ModalBox.
- 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.
Download : http://github.com/okonet/modalbox
Demo : http://okonet.ru/projects/modalbox/
Related posts:
- AeroWindow – Create window 7 aero style pop-ups with jQuery
- Visual jQuery LightBox – Create fantastic lightbox-style photo galleries and slideshows
- Roar – Notification Widget to create pop-up notifications like OS X’s Growl Framework
- Create MS Excel spreadsheet style web application interface with jQuery.sheet
- Ample SDK – standard-based cross-browser JavaScript GUI Framework
- Plumi – create your own YouTube style video sharing site
Popular stories from Web
ModalBox – create Mac OS X style JavaScript pop-ups for Your Browser #javascript http://ow.ly/21vLU