Modal, for Mootools 1.2+

ant looking at foodModal is a modal dialog box for Mootools 1.2+. The focus is on simple, clean, and easy. It also has a few features that should make most developers cream their pants.

Modal can load its content from AJAX, it can load images (on-site or off-site), and it can load content from elements in the DOM. The DOM loading functionality is somewhat unique, and works without creating duplicate objects or ids.

It also has events that make it easy for developers to hook into certain actions. For instance, you can easily attach a callback to the “close” event, so when a user closes the dialog, the callback is called.

The markup and styling is so simple that customizing the look or switching the images it uses is painfully easy.

There is more documentation (and a demo!) coming soon, but for the time being stay tuned and check out Modal’s github page.