Basic overview
.dialog-btn
- dialog display button.data-dialog-element="..."
-#id
or.class
of the element which will be transformed in dialog.
Each dialog consists of header and content and can be closed clicking on the icon "x" in the header.
<button class="dialog-btn" data-dialog-element="#dialog">...</button> <div id="dialog" class='dialog' title="Default dialog">...</div>
Additional parameters
data-dialog-title="..."
- dialog title.data-dialog-classes="..."
- additional classes for dialog (classes are separated by space!).data-dialog-effect="..."
- dialog opening effect [blind, clip, drop, fade, fold, slide].data-dialog-width="..."
- dialog width, is indicated in pixels "px".data-dialog-height="..."
- dialog height, is indicated in pixels "px".data-dialog-open="..."
- iftrue
is set up, dialog will be open by default.data-dialog-draggable="..."
- iftrue
is set up, dialog will be draggable over the screen.data-dialog-resizable="..."
- iftrue
is set up, dialog will be resizable.
ATTENTION! All additional parameters (data-*
) are applied to .dialog-btn