ModalBox: Modal Dialog Boxes Based on Prototype.js
If you’ve ever used the Sustainability Victoria calculator, Administered Joomla or poked someone on Facebook, then you might wonder how they create those nice modal dialog boxes that have replaced the ugly javascript confirm() in most modern web applications:
Well, thanks to prototype.js and ModalBox now you can. ModalBox is a javascript library that helps you create modal dialogs and wizards that are easy to create and simple to interact with. It’s as simple as:
Modalbox.show(myUrl, {title: 'This is my modal box!', width: 500});
Have a look at the very helpful reference page or the ModalBox website for more examples and information.


Leave a Reply