1.
Defaults --
show dialog Out-of-box behavior. The window and its
content is taken "inline" from the element with an ID of 'dialog'. The dialog is "triggered" (shown) when element(s)
with class
jqModal are clicked. No parameters are passed, no fancy window decorations used.
2.
Ajax --
show dialog Will open a modal that loads
content from a remote server. This page must be served through a webserver to work.
(e.g.
http:// and not file://).
3.
Manual trigger, extend options --
show dialog
Demonstrates a manual trigger of `jqmShow` as well as updating the options object.
4.
Manual trigger, modal:true dialog --
show modal:true dialog
Demonstrates a manual trigger of `jqmShow` as well as updating the options object.
5.
Ajax Text --
show dialog Will open a modal whose contents
are immediately replaced with predefined text (e.g. a loading indicator). Predefined text is replaced when the server responds
with content. This page must be served through a webserver with php support to work.
(e.g.
http:// and not file://).
Close
READ ME --> This is a "vanilla plain" jqModal window. Behavior and appeareance extend far beyond this.
Please see the
jqModal website for more!
NOTE;
You can close windows by clicking the tinted background known as the "overlay". Clicking the overlay will have no
effect if the "modal" parameter is passed, or if the overlay is disabled.