Options:

Option Type Default Description
destoryOnClose bool true Calls the plugins destory method when overlay is closed. If the overlay content existed on the page, that content is returned to its original position.
customClass string null one or more space-separated classes to be added to dialog wrapper.
closeSelector string empty Selector that specifies elements that will close the dialog on click.
closeButton bool true Shows the dialog's default close button
closeOnBodyClick bool false Whether a click outside the overlay should close the overlay
autoOpen bool true When true, the dialog opens automatically when plugin first called.
maxWidth string 90% sets dialog's max-width
maxHeight string null set's dialog's max-height
minWidth string null Sets dialog's min-width
minHeight string null Sets dialog's min-height
width string null width
height string null Dialog height

Methods:

append
Append html content to the dialog
html
Set html content. Replaces any existing content

Basic Overlay:

Open