Home  >  Article  >  Web Front-end  >  JavaScript modal dialog class

JavaScript modal dialog class

高洛峰
高洛峰Original
2016-11-25 10:57:19977browse

**
* 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
* });
*/

JavaScript modal dialog class

modalDialog.rar

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn