JQuerySimpleModal
Homepage: http://www.ericmmartin.com/projects/simplemodalAuthor(s): Eric Martin
Version: 1.4.2 SimpleModal is a lightweight jQuery plugin that provides a simple interface to create a modal dialog. Note: please consider using UI::Dialog instead.
Description
The goal of SimpleModal is to provide developers with a cross-browser overlay and container that will be populated with data provided to SimpleModal. There are two ways to call SimpleModal:- As a chained function on a jQuery object, like
$('#myDiv').modal();
. This call would place the DOM object, #myDiv, inside a modal dialog. Chaining requires a jQuery object. An optional options object can be passed as a parameter. - As a stand-alone function, like
$.modal(data)
. The data parameter is required and an optional options object can be passed as a second parameter. This method provides more flexibility in the types of data that are allowed. The data could be a DOM object, a jQuery object, HTML or a string.
- IE 6, 7, 8
- Firefox 2, 3, 4
- Opera 9
- Safari 3
Examples

