Home > Article > Web Front-end > JavaScript modal dialog class
**
* JavaScript ModelDialog v0.1
*
* new ModelDialog({
* caption title dialog box title (default)
* template body content (default)
* dialogCls dialog box className md-dialog (default)
* headCls head className md-head (default)
* btnCloseCls close button className md-close (default)
* bodyCls body className md-body (default)
* shadowBg cover layer background color gray (default)
* shadowOpy cover layer transparent 0.2 (default)
* dragable Whether it can be dragged true (default)
* dragInWin Whether it can only be dragged within the window (true) Default is mutually exclusive with area
* area [minX, maxX, minY, maxY] is mutually exclusive with dragInWin
* });
*/
modalDialog.rar