dialog
static
dialog object
dialog
(
pSelectorOrHTML
,
pConfig
)
Creates (and optionally displays) a non-blockable dialog.
- Parameters:
-
pSelectorOrHTML <string>
a jQuery selector of the element to use as the dialog OR HTML to use as the dialog's content. (for HTML content, prepend your content with []) -
pConfig <object>
the configuration to apply to the dialog. Optional. (See http://jqueryui.com/demos/dialog for parameters) NOTE: the special "fixed" configuration option will make the dialog a fixed element on the page.
- Returns:
dialog object
- returns the dialog object.
lightbox
static
dialog object
lightbox
(
pSelectorOrHTML
,
pConfig
)
Creates and displays a lightbox that can be closed by clicking anywhere outside of it.
- Parameters:
-
pSelectorOrHTML <string>
a jQuery selector of the element to use as the dialog OR HTML to use as the dialog's content. (for HTML content, prepend your content with []) -
pConfig <object>
the configuration to apply to the dialog. Optional. (See http://orderedlist.com/blog/articles/fancyzoom-meet-jquery/ for parameters)
- Returns:
dialog object
- returns the dialog object.