Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rubylouvre/mmdialog
一个基于jQuery的弹出层
https://github.com/rubylouvre/mmdialog
Last synced: about 2 months ago
JSON representation
一个基于jQuery的弹出层
- Host: GitHub
- URL: https://github.com/rubylouvre/mmdialog
- Owner: RubyLouvre
- Created: 2012-11-17T02:32:21.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2012-12-28T10:53:38.000Z (about 12 years ago)
- Last Synced: 2024-04-14T19:15:17.160Z (9 months ago)
- Language: JavaScript
- Size: 1.25 MB
- Stars: 9
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
mmDialog
========一个基于jQuery的弹出层
参数类型说明
skinStringdefault|aero|mac|blue|green|orange
titleString"标题"
contentString"",窗口的内容
openfunction弹出窗口时执行的回调
closefunction关闭窗口时执行的回调
isDragboolean是否拖动,默认能
isMaskboolean是否使用遮罩层,默认使用
isFullboolean是否全屏,默认否
topnumber窗口的左上角的Y坐标
leftnumber窗口的左上角的X坐标,如果它们都没有指定,则全屏居中垂直
widthnumber窗口的宽
heightnumber窗口的高
closeTimenumber延迟关闭时间
一个mmDialog实例拥有如下属性: head(放置标题的h1的jQuery对象), body(放置内容的div的jQuery对象),
foot(放置分页栏,按钮等杂物的位于下方的div的jQuery对象), el(最外的div的jQuery对象)它最重要的实例方法就是teardown,用于销毁自身